summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--patches/01_properly-support-shared-library.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/patches/01_properly-support-shared-library.patch b/patches/01_properly-support-shared-library.patch
index 6bd71db..f7ec802 100644
--- a/patches/01_properly-support-shared-library.patch
+++ b/patches/01_properly-support-shared-library.patch
@@ -23,7 +23,8 @@ diff -Naur src.orig/Makefile src/Makefile
-bzip2: libbz2.a bzip2.o
+bzip2: libbz2.so.$(VERSION) bzip2.o
- $(CC) $(CFLAGS) $(LDFLAGS) -o bzip2 bzip2.o -L. -lbz2
+- $(CC) $(CFLAGS) $(LDFLAGS) -o bzip2 bzip2.o -L. -lbz2
++ $(CC) $(CFLAGS) $(LDFLAGS) -o bzip2 bzip2.o libbz2.so.$(VERSION)
bzip2recover: bzip2recover.o
$(CC) $(CFLAGS) $(LDFLAGS) -o bzip2recover bzip2recover.o