summaryrefslogtreecommitdiff
path: root/tools/lzma/patches/110-ranlib.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-12-02 22:44:44 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-12-02 22:44:44 +0000
commitff75d8a012aef900ad872721dfb579d4d28bf342 (patch)
tree706fa1fd957c9eb05368d80ad121cbe702f2497d /tools/lzma/patches/110-ranlib.patch
parent9c7edf0ad03b39f7571bad2c92df133c8c2f78c8 (diff)
downloadmtk-20170518-ff75d8a012aef900ad872721dfb579d4d28bf342.zip
mtk-20170518-ff75d8a012aef900ad872721dfb579d4d28bf342.tar.gz
mtk-20170518-ff75d8a012aef900ad872721dfb579d4d28bf342.tar.bz2
fix another build issue on some osx machines - run ranlib on the lzma lib archive
SVN-Revision: 9649
Diffstat (limited to 'tools/lzma/patches/110-ranlib.patch')
-rw-r--r--tools/lzma/patches/110-ranlib.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/lzma/patches/110-ranlib.patch b/tools/lzma/patches/110-ranlib.patch
new file mode 100644
index 0000000..22bf503
--- /dev/null
+++ b/tools/lzma/patches/110-ranlib.patch
@@ -0,0 +1,12 @@
+Index: lzma/C/7zip/Compress/LZMA_Lib/makefile
+===================================================================
+--- lzma.orig/C/7zip/Compress/LZMA_Lib/makefile 2007-12-02 23:37:08.000000000 +0100
++++ lzma/C/7zip/Compress/LZMA_Lib/makefile 2007-12-02 23:38:40.000000000 +0100
+@@ -29,6 +29,7 @@
+
+ $(PROG): $(OBJS)
+ $(AR) r $(PROG) $(OBJS)
++ ranlib $(PROG)
+
+ ZLib.o: ZLib.cpp
+ $(CXX) $(CFLAGS) ZLib.cpp