tapi-1.30-allow-all-clients.patch 792 B

123456789101112131415161718
  1. libtapi is by default limited to be linked to binaries called ld only. When
  2. trying to link it into e.g. our ld64 we get:
  3. ld: cannot link directly with ${EPREFIX}/usr/lib/libtapi.dylib for architecture
  4. x86_64
  5. Drop that limitation in order to be able to use the library.
  6. --- libtapi-1.30/tools/libtapi/CMakeLists.txt.orig 2017-02-12 17:35:55.000000000 +0100
  7. +++ libtapi-1.30/tools/libtapi/CMakeLists.txt 2017-02-12 17:36:17.000000000 +0100
  8. @@ -18,5 +18,5 @@
  9. set_property(TARGET libtapi APPEND_STRING
  10. PROPERTY
  11. - LINK_FLAGS " -current_version ${TAPI_VERSION_MAJOR}.${TAPI_VERSION_MINOR}.${TAPI_VERSION_PATCH} -compatibility_version 1 -allowable_client ld"
  12. + LINK_FLAGS " -current_version ${TAPI_VERSION_MAJOR}.${TAPI_VERSION_MINOR}.${TAPI_VERSION_PATCH} -compatibility_version 1"
  13. )