Also set rpath under FreeBSD

They seem to support it since a very long time, so there should be no
problems with doing it there too.
This commit is contained in:
Vadim Zeitlin 2024-01-29 01:52:14 +01:00
parent 0352fe1fbd
commit ab0865f991
2 changed files with 2 additions and 2 deletions

2
configure vendored
View file

@ -31493,7 +31493,7 @@ $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
WXCONFIG_RPATH="-R\$libdir"
else
case "${host}" in
*-*-linux* | *-*-gnu* )
*-*-linux* | *-*-gnu* | *-*-freebsd*)
DYLIB_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
;;

View file

@ -3448,7 +3448,7 @@ if test "$wxUSE_SHARED" = "yes"; then
WXCONFIG_RPATH="-R\$libdir"
else
case "${host}" in
*-*-linux* | *-*-gnu* )
*-*-linux* | *-*-gnu* | *-*-freebsd*)
DYLIB_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
;;