Skip to content

Commit

Permalink
configury: Fixed disable-rpath
Browse files Browse the repository at this point in the history
Issue Sandia-OpenSHMEM#1162

The build system relies on libtool to build libraries. libtool will
insert a 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 <mark.f.brown@intel.com>
  • Loading branch information
markbrown314 committed Feb 26, 2025
1 parent 878385e commit b4f4106
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b4f4106

Please sign in to comment.