]> git.pld-linux.org Git - packages/elfutils.git/commitdiff
- made tests work without /proc (using LD_LIBRARY_PATH)
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 5 Jun 2004 00:21:54 +0000 (00:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    elfutils.spec -> 1.33

elfutils.spec

index bbdfcf7d66d99a6907534c506b5d81ff368f7f37..3b3f9addff1449fe83094c0fd8ae72589e0dc8f7 100644 (file)
@@ -138,7 +138,11 @@ programowalny interfejs asemblera.
 
 %{__make}
 %{__make} -C debian/man
-%{?with_tests:%{__make} -C tests check}
+%if %{with tests}
+# $ORIGIN used in RPATH needs /proc to work - workaround it using LD_LIBRARY_PATH
+LD_LIBRARY_PATH=../libasm:../libdw:../libebl:../libelf \
+%{__make} -C tests check
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.205397 seconds and 4 git commands to generate.