summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-09-29 15:46:07 (GMT)
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-09-29 15:46:07 (GMT)
commita49db8e56956a9f3a53873977b49090bfc8025cd (patch)
tree73d613d0fe2d764bffceaffd45bb9b0b8d7e502b /tests
parent190a60c025b4e1cfdc3b0d6832f096b16feffba9 (diff)
downloadpatchelf-a49db8e56956a9f3a53873977b49090bfc8025cd.zip
patchelf-a49db8e56956a9f3a53873977b49090bfc8025cd.tar.gz
patchelf-a49db8e56956a9f3a53873977b49090bfc8025cd.tar.bz2
* Put in a highly Nix-specific hack to make the tests work.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index fcc5d24..6dfb22b 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -15,7 +15,7 @@ main.o: main.c
$(CC) -fpic -o main.o -c main.c
libfoo.so: foo.o libbar.so
- $(CC) -shared -o libfoo.so foo.o -L . -lbar -Wl,-rpath,/no-such-path
+ NIX_DONT_SET_RPATH=1 $(CC) -shared -o libfoo.so foo.o -L . -lbar -Wl,-rpath,/no-such-path
foo.o: foo.c
$(CC) -fpic -o foo.o -c foo.c