void-packages/srcpkgs/bzip2/patches/Makefile_libbz2_so_fix_soname.diff

16 lines
571 B
Diff
Raw Normal View History

2010-10-21 21:56:33 +00:00
--- 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)
2010-10-21 21:56:33 +00:00
- $(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:
2010-10-21 21:56:33 +00:00
rm -f $(OBJS) bzip2.o libbz2.so.1.0.6 libbz2.so.1.0 bzip2-shared