From ab0865f9913f82d81bd51f37fb915901b938b898 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 29 Jan 2024 01:52:14 +0100 Subject: [PATCH] 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. --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 677cb64c1c..0d99ea4180 100755 --- a/configure +++ b/configure @@ -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" ;; diff --git a/configure.ac b/configure.ac index bce390c6bc..e8c58221e3 100644 --- a/configure.ac +++ b/configure.ac @@ -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" ;;