summaryrefslogtreecommitdiffstats
path: root/systemtap.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'systemtap.spec.in')
-rw-r--r--systemtap.spec.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/systemtap.spec.in b/systemtap.spec.in
index f67fd87f..10909b7b 100644
--- a/systemtap.spec.in
+++ b/systemtap.spec.in
@@ -59,6 +59,8 @@ cat > configure <<\EOF
exec ../elfutils-%{elfutils_version}/configure "$@"
EOF
chmod +x configure
+LDFLAGS=-Wl,--enable-new-dtags,-rpath,%{_libdir}/%{name}
+export LDFLAGS
%configure --enable-libebl-subdir=%{name}
make %{?_smp_mflags}
for dir in libelf libebl libdw libdwfl; do