Skip to content

Commit a1f6c78

Browse files
rjsatpdftronrchennafi
authored andcommitted
restore non Apple else code
1 parent 1ec58e4 commit a1f6c78

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

PDFNetRuby/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ elseif (UNIX)
7373
if (APPLE)
7474
set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,-headerpad_max_install_names -lSystem -undefined dynamic_lookup -Wl,-install_name,@rpath/PDFNetRuby.bundle -Wl,-rpath,/usr/lib -Wl,-rpath,/usr/local/lib -Wl,-rpath,.")
7575
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64")
76+
else ()
77+
set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,-rpath,'$ORIGIN'")
7678
endif ()
7779
endif ()
7880

0 commit comments

Comments
 (0)