Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcd86869

Browse files
committed
On Linux, use --enable-new-dtags when specifying -rpath to linker.
This should allow LD_LIBRARY_PATH to work as desired. Per troublereport from Andy Colson.
1 parent72ee670 commitcd86869

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/makefiles/Makefile.linux

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
AROPT = crs
22
export_dynamic = -Wl,-E
3-
rpath = -Wl,-rpath,'$(rpathdir)'
3+
# 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
46
allow_nonpic_in_shlib = yes
57
DLSUFFIX = .so
68

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp