Skip to content

Commit e6b0b91

Browse files
committed
SR-9251: Add $ORIGIN into libFoundation.so RUNPATH
1 parent 13f2c51 commit e6b0b91

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ add_swift_library(Foundation
241241
${LIBXML2_LIBRARIES}
242242
${libdispatch_ldflags}
243243
${uuid_LIBRARIES}
244+
-Xlinker;-rpath;-Xlinker;"\\\$\$ORIGIN"
244245
SWIFT_FLAGS
245246
-DDEPLOYMENT_RUNTIME_SWIFT
246247
${deployment_enable_libdispatch}

0 commit comments

Comments
 (0)