16 lines
571 B
Diff
16 lines
571 B
Diff
--- Makefile-libbz2_so.orig 2010-10-21 23:53:37.730855571 +0200
|
|
+++ Makefile-libbz2_so 2010-10-21 23:54:25.784425275 +0200
|
|
@@ -35,10 +35,11 @@ OBJS= blocksort.o \
|
|
bzlib.o
|
|
|
|
all: $(OBJS)
|
|
- $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.6 $(OBJS)
|
|
+ $(CC) -shared -Wl,-soname -Wl,libbz2.so.1 -o libbz2.so.1.0.6 $(OBJS)
|
|
$(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.6
|
|
rm -f libbz2.so.1.0
|
|
ln -s libbz2.so.1.0.6 libbz2.so.1.0
|
|
+ ln -s libbz2.so.1.0.6 libbz2.so.1
|
|
|
|
clean:
|
|
rm -f $(OBJS) bzip2.o libbz2.so.1.0.6 libbz2.so.1.0 bzip2-shared
|