Skip to content

Commit be350a4

Browse files
committed
Test
1 parent 2f3a030 commit be350a4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ set(LIBRARIES
2727

2828
# For MacOS, copy over all of the other dependent libraries too, so CI can cache them easily; delocate will handle portable linking
2929
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+
3034
list(APPEND LIBRARIES
3135
tools/openfst/lib/libfst${CMAKE_SHARED_LIBRARY_SUFFIX}
3236
tools/openfst/lib/libfstscript${CMAKE_SHARED_LIBRARY_SUFFIX}

0 commit comments

Comments
 (0)