build: Rely on new-dtags support to replace RPATH with RUNPATH

This commit is contained in:
Rico Tzschichholz 2014-07-30 13:48:13 +02:00
parent d8a762c9ec
commit 8f3a2eb38d

View File

@ -165,7 +165,7 @@ if test "x$have_mutter314" = "xyes" ; then
fi
# -----------------------------------------------------------
# Addional configure flags
# Additional configure flags
# -----------------------------------------------------------
# Enable Vala debug-flag by default for non-release builds
@ -181,6 +181,13 @@ AC_SUBST(GALA_CORE_VALAFLAGS)
GALA_DOCS_VALAFLAGS="$VALAFLAGS $GALA_CORE_VALA_PKGS"
AC_SUBST(GALA_DOCS_VALAFLAGS)
# -----------------------------------------------------------
# Additional build flags
# -----------------------------------------------------------
# Use RUNPATH instead of RPATH if needed
CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
# -----------------------------------------------------------
# Documentation
# -----------------------------------------------------------