diff options
author | Jeremy Lainé <jeremy.laine@m4x.org> | 2009-04-02 12:47:37 +0000 |
---|---|---|
committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2009-04-02 12:47:37 +0000 |
commit | 1f3327dcd807c018d47971ee85ccd7d76850040b (patch) | |
tree | 99ded9350778f4a8dfefa965454e1ddba1e4ebe0 /recipes/bzip2/bzip2-1.0.2 | |
parent | 9b8323739f1349983d973ff2b86b27f0aceb4d0f (diff) |
bzip2: add patch to use LDFLAGS (fixes QA error)
Diffstat (limited to 'recipes/bzip2/bzip2-1.0.2')
-rw-r--r-- | recipes/bzip2/bzip2-1.0.2/ldflags.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes/bzip2/bzip2-1.0.2/ldflags.patch b/recipes/bzip2/bzip2-1.0.2/ldflags.patch new file mode 100644 index 0000000000..c7da5bc501 --- /dev/null +++ b/recipes/bzip2/bzip2-1.0.2/ldflags.patch @@ -0,0 +1,14 @@ +diff -urN bzip2-1.0.2.orig/Makefile-libbz2_so bzip2-1.0.2/Makefile-libbz2_so +--- bzip2-1.0.2.orig/Makefile-libbz2_so 2001-12-30 02:15:59.000000000 +0000 ++++ bzip2-1.0.2/Makefile-libbz2_so 2009-04-02 12:42:43.000000000 +0000 +@@ -20,8 +20,8 @@ + bzlib.o + + all: $(OBJS) +- $(CC) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.2 $(OBJS) +- $(CC) $(CFLAGS) -o bzip2-shared bzip2.c libbz2.so.1.0.2 ++ $(CC) $(LDFLAGS) -shared -Wl,-soname -Wl,libbz2.so.1.0 -o libbz2.so.1.0.2 $(OBJS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -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 + |