Skip to content

Commit d9618ed

Browse files
SwooshyCuebalanking
authored andcommitted
[#136] Tell linker to set DF_1_GLOBAL
1 parent 1fac522 commit d9618ed

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,11 +233,13 @@ else()
233233
)
234234
endif()
235235

236-
# Disable lazy-loading
237236
target_link_options(
238237
${PLUGIN}
239238
PRIVATE
239+
# Disable lazy-loading
240240
-Wl,-z,now
241+
# Tell iRODS server to load with RTLD_GLOBAL (for libpython)
242+
-Wl,-z,global
241243
)
242244

243245
target_compile_definitions(

0 commit comments

Comments
 (0)