diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-10-02 10:18:34 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-10-02 10:18:34 +0000 |
commit | ec5439f204c9c9546d0e6030a2fb0f4a47c38a15 (patch) | |
tree | 25daf471df096f4ca09d0ed7cdc88a788a9fd3b2 /tools | |
parent | 974c5831e0cae736f24f9ff61a521236c4660196 (diff) | |
download | upstream-ec5439f204c9c9546d0e6030a2fb0f4a47c38a15.tar.gz upstream-ec5439f204c9c9546d0e6030a2fb0f4a47c38a15.tar.bz2 upstream-ec5439f204c9c9546d0e6030a2fb0f4a47c38a15.zip |
tools/mtd-utils: fix compilation on OS X
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23176 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools')
-rw-r--r-- | tools/mtd-utils/patches/131-fix_lib_compile.patch | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tools/mtd-utils/patches/131-fix_lib_compile.patch b/tools/mtd-utils/patches/131-fix_lib_compile.patch index f40a5b6c56..fef1333177 100644 --- a/tools/mtd-utils/patches/131-fix_lib_compile.patch +++ b/tools/mtd-utils/patches/131-fix_lib_compile.patch @@ -1,11 +1,11 @@ ---- a/Makefile -+++ b/Makefile -@@ -68,8 +68,6 @@ $(BUILDDIR)/jffs2reader: $(BUILDDIR)/jff - LDFLAGS_jffs2reader = $(ZLIBLDFLAGS) $(LZOLDFLAGS) - LDLIBS_jffs2reader = -lz -llzo2 +--- a/lib/Makefile ++++ b/lib/Makefile +@@ -7,7 +7,7 @@ SUBDIRS = + # CFLAGS += -Werror + CPPFLAGS += -I../include + LIBS = libmtd libcrc32 +-TARGETS = libmtd.a libcrc32.a ++override TARGETS = libmtd.a libcrc32.a + + include ../common.mk --$(BUILDDIR)/lib/libmtd.a: subdirs_lib_all ; -- - install:: ${TARGETS} ${SCRIPTS} - mkdir -p ${DESTDIR}/${SBINDIR} - install -m 0755 ${TARGETS} ${SCRIPTS} ${DESTDIR}/${SBINDIR}/ |