From 070ed62fcd1d8181b642e1413104775067750189 Mon Sep 17 00:00:00 2001 From: "Mark F. Brown" Date: Wed, 26 Feb 2025 13:08:10 -0500 Subject: [PATCH] configury: Fixed disable-rpath Issue #1162 The build system relies on libtool to build libraries. libtool will insert an rpath into libraries unless you set hardcode_into_libs = no. Modified configury to set hardcode_into_libs if disable-rpath is set. Signed-off-by: Mark F. Brown --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index b92aad4f..0648b658 100644 --- a/configure.ac +++ b/configure.ac @@ -948,6 +948,8 @@ LIBS="$LIBS $pmi_LIBS" WRAPPER_COMPILER_EXTRA_LDFLAGS="$WRAPPER_COMPILER_EXTRA_LDFLAGS $pmi_LDFLAGS $aslr_LDFLAGS" WRAPPER_COMPILER_EXTRA_LIBS="$WRAPPER_COMPILER_LIBS $pmi_LIBS" +AS_IF([test "$enable_rpath" = "no"], [hardcode_into_libs="no"], []) + # Need the libtool binary before setting up rpath LT_OUTPUT