pass HOST_ variables, not BUILD_
[buildroot.git] / package / bzip2 / bzip2-1.0.5-libbz2-soversion.patch
blobfa17fcdcb9abceb4555efe24b301ef2aba046291
1 diff -u bzip2-1.0.5.orig/Makefile-libbz2_so bzip2-1.0.5/Makefile-libbz2_so
2 --- bzip2-1.0.5.orig/Makefile-libbz2_so 2007-12-09 14:00:50.000000000 +0100
3 +++ bzip2-1.0.5/Makefile-libbz2_so 2008-10-13 13:22:04.000000000 +0200
4 @@ -1,6 +1,6 @@
6 # This Makefile builds a shared version of the library,
7 -# libbz2.so.1.0.4, with soname libbz2.so.1.0,
8 +# libbz2.so.1.0.5, with soname libbz2.so.1.0,
9 # at least on x86-Linux (RedHat 7.2),
10 # with gcc-2.96 20000731 (Red Hat Linux 7.1 2.96-98).
11 # Please see the README file for some important info
12 @@ -35,13 +35,13 @@
13 bzlib.o
15 all: $(OBJS)
16 - $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.4 $(OBJS)
17 - $(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.4
18 + $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.5 $(OBJS)
19 + $(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.5
20 rm -f libbz2.so.1.0
21 - ln -s libbz2.so.1.0.4 libbz2.so.1.0
22 + ln -s libbz2.so.1.0.5 libbz2.so.1.0
24 clean:
25 - rm -f $(OBJS) bzip2.o libbz2.so.1.0.4 libbz2.so.1.0 bzip2-shared
26 + rm -f $(OBJS) bzip2.o libbz2.so.1.0.5 libbz2.so.1.0 bzip2-shared
28 blocksort.o: blocksort.c
29 $(CC) $(CFLAGS) -c blocksort.c