commit
0e0df75ee7
@ -3,7 +3,11 @@
|
||||
|
||||
/* Include files */
|
||||
#cmakedefine HAVE_FCNTL_H
|
||||
#if defined(__APPLE__) && !defined(__IOS__)
|
||||
#cmakedefine01 HAVE_UNISTD_H
|
||||
#else
|
||||
#cmakedefine HAVE_UNISTD_H
|
||||
#endif
|
||||
#cmakedefine HAVE_INTTYPES_H
|
||||
#cmakedefine HAVE_SYS_MODEM_H
|
||||
#cmakedefine HAVE_SYS_FILIO_H
|
||||
|
7
docs/README.macOS
Normal file
7
docs/README.macOS
Normal file
@ -0,0 +1,7 @@
|
||||
Starting with "El Capitan" Apple removed the openssl headers. Therefore it's
|
||||
required to build openssl manually upfront. For example by using MacPorts or Homebrew.
|
||||
To build FreeRDP against this library it's required to set the PKG_CONFIG_PATH
|
||||
pointing to the openssl root directory befor building.
|
||||
For example with brew it would look like this:
|
||||
|
||||
export PKG_CONFIG_PATH=$(brew --prefix)/opt/openssl/lib/pkgconfig
|
@ -37,7 +37,7 @@ if(OPENSSL_FOUND)
|
||||
else()
|
||||
# if ${OPENSSL_LIBRARIES} libssl and libcrypto is linked
|
||||
# therefor explicitly link against libcrypto
|
||||
list(APPEND ${MODULE_PREFIX}_LIBS crypto)
|
||||
list(APPEND ${MODULE_PREFIX}_LIBS ${OPENSSL_CRYPTO_LIBRARIES})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user