Skip to content

Commit

Permalink
--enable-rpath also use to PREFIX/lib
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Deveaud committed Nov 27, 2021
1 parent 41ceef4 commit a722835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -960,7 +960,7 @@ then
test_LDSHARED="$LDSHARED -Wl,-R -Wl,/some/random/dir/"
$test_LDSHARED $LDFLAGS conftest.o -o conftest.$SOEXT 1>/dev/null 2>/dev/null
if readelf -d conftest.$SOEXT | grep RPATH | grep -q /some/random/dir ; then
LDSHARED="$LDSHARED -Wl,-R -Wl,\"$LIBRARY_PATH\""
LDSHARED="$LDSHARED -Wl,-R -Wl,\"${prefix}/lib:$LIBRARY_PATH\""
else
AC_MSG_WARN([-R option seems not working, disabling rpath])
fi
Expand Down

0 comments on commit a722835

Please sign in to comment.