Skip to content

Commit c804927

Browse files
committed
MacOS: add --symbolic linker option
1 parent 8bd91a0 commit c804927

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
134134
MESSAGE(STATUS "Install RPATH: ${CMAKE_INSTALL_RPATH}")
135135
if(LINUX)
136136
add_link_options("LINKER:--disable-new-dtags" "LINKER:-Bsymbolic")
137+
elseif(APPLE)
138+
add_link_options("LINKER:--symbolic")
137139
endif()
138140

139141
if (LUXRAYS_DISABLE_OPENCL)

0 commit comments

Comments
 (0)