forked from pool/bzip2
12 lines
369 B
Diff
12 lines
369 B
Diff
--- Makefile-libbz2_so
|
|
+++ Makefile-libbz2_so
|
|
@@ -35,7 +35,7 @@
|
|
bzlib.o
|
|
|
|
all: $(OBJS)
|
|
- $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.4 $(OBJS)
|
|
+ $(CC) $(CFLAGS) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.4 $(OBJS)
|
|
$(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.4
|
|
rm -f libbz2.so.1.0
|
|
ln -s libbz2.so.1.0.4 libbz2.so.1.0
|