aboutsummaryrefslogtreecommitdiffstats
path: root/tools/mtd-utils/patches/310-add-static-linking-option.patch
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mtd-utils/patches/310-add-static-linking-option.patch')
-rw-r--r--tools/mtd-utils/patches/310-add-static-linking-option.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/mtd-utils/patches/310-add-static-linking-option.patch b/tools/mtd-utils/patches/310-add-static-linking-option.patch
index 810aea9a54..828d7751e5 100644
--- a/tools/mtd-utils/patches/310-add-static-linking-option.patch
+++ b/tools/mtd-utils/patches/310-add-static-linking-option.patch
@@ -32,12 +32,12 @@
$(foreach v,$(MTD_BINS),$(eval $(call mkdep,,$(v))))
-@@ -119,7 +119,7 @@ else
- XZLDLIBS = -llzma
+@@ -114,7 +114,7 @@ else
+ LZOLDLIBS = -llzo2
endif
--LDLIBS_mkfs.ubifs = -lz $(LZOLDLIBS) $(XZLDLIBS) -lm -luuid
-+LDLIBS_mkfs.ubifs = $(call static_link,-lz $(LZOLDLIBS) $(XZLDLIBS)) -lm $(call static_link,-luuid)
+-LDLIBS_mkfs.ubifs = -lz $(LZOLDLIBS) -lm -luuid
++LDLIBS_mkfs.ubifs = $(call static_link,-lz $(LZOLDLIBS)) -lm $(call static_link,-luuid)
$(call mkdep,mkfs.ubifs/,mkfs.ubifs,,ubi-utils/libubi.a)
#