diff options
Diffstat (limited to 'patches')
-rw-r--r-- | patches/01_properly-support-shared-library.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/patches/01_properly-support-shared-library.patch b/patches/01_properly-support-shared-library.patch index f7ec802..e583d8e 100644 --- a/patches/01_properly-support-shared-library.patch +++ b/patches/01_properly-support-shared-library.patch @@ -39,17 +39,17 @@ diff -Naur src.orig/Makefile src/Makefile check: test test: bzip2 @cat words1 -+ LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH \ ++ LD_PRELOAD=./libbz2.so.$(VERSION) \ ./bzip2 -1 < sample1.ref > sample1.rb2 -+ LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH \ ++ LD_PRELOAD=./libbz2.so.$(VERSION) \ ./bzip2 -2 < sample2.ref > sample2.rb2 -+ LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH \ ++ LD_PRELOAD=./libbz2.so.$(VERSION) \ ./bzip2 -3 < sample3.ref > sample3.rb2 -+ LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH \ ++ LD_PRELOAD=./libbz2.so.$(VERSION) \ ./bzip2 -d < sample1.bz2 > sample1.tst -+ LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH \ ++ LD_PRELOAD=./libbz2.so.$(VERSION) \ ./bzip2 -d < sample2.bz2 > sample2.tst -+ LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH \ ++ LD_PRELOAD=./libbz2.so.$(VERSION) \ ./bzip2 -ds < sample3.bz2 > sample3.tst cmp sample1.bz2 sample1.rb2 cmp sample2.bz2 sample2.rb2 |