We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f3a030 commit be350a4Copy full SHA for be350a4
CMakeLists.txt
@@ -27,6 +27,10 @@ set(LIBRARIES
27
28
# For MacOS, copy over all of the other dependent libraries too, so CI can cache them easily; delocate will handle portable linking
29
if("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Darwin")
30
+ # Increase the header padding to allow for future changes to install names: delocate needs this
31
+ set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-headerpad_max_install_names")
32
+ set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,-headerpad_max_install_names")
33
+
34
list(APPEND LIBRARIES
35
tools/openfst/lib/libfst${CMAKE_SHARED_LIBRARY_SUFFIX}
36
tools/openfst/lib/libfstscript${CMAKE_SHARED_LIBRARY_SUFFIX}
0 commit comments