We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72ee670 commit cd86869Copy full SHA for cd86869
src/makefiles/Makefile.linux
@@ -1,6 +1,8 @@
1
AROPT = crs
2
export_dynamic = -Wl,-E
3
-rpath = -Wl,-rpath,'$(rpathdir)'
+# Use --enable-new-dtags to generate DT_RUNPATH instead of DT_RPATH.
4
+# This allows LD_LIBRARY_PATH to still work when needed.
5
+rpath = -Wl,-rpath,'$(rpathdir)',--enable-new-dtags
6
allow_nonpic_in_shlib = yes
7
DLSUFFIX = .so
8
0 commit comments