A good bzip2 package which includes a shared library (needed for bzip2
support in PHP). Needed at small patch to link the DSO since Solaris ld is too braindead to understand -soname.
This commit is contained in:
11
bzip2/src/bzip2-braindead-solaris-linker.patch
Normal file
11
bzip2/src/bzip2-braindead-solaris-linker.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- bzip2-1.0.2/Makefile-libbz2_so.orig 2004-01-09 10:17:44.310014000 +0100
|
||||
+++ bzip2-1.0.2/Makefile-libbz2_so 2004-01-09 10:17:57.600005000 +0100
|
||||
@@ -20,7 +20,7 @@
|
||||
bzlib.o
|
||||
|
||||
all: $(OBJS)
|
||||
- $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.2 $(OBJS)
|
||||
+ $(CC) -shared -Wl,-h -Wl,libbz2.so.1.0 -o libbz2.so.1.0.2 $(OBJS)
|
||||
$(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.2
|
||||
rm -f libbz2.so.1.0
|
||||
ln -s libbz2.so.1.0.2 libbz2.so.1.0
|
||||
Reference in New Issue
Block a user