[openwrt/openwrt] tools/make-ext4fs: Fix build on MacOSX
LEDE Commits
lede-commits at lists.infradead.org
Sat Apr 28 15:58:16 PDT 2018
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/60427a940f084efea7fbfc3f072dc4cff80b7e33
commit 60427a940f084efea7fbfc3f072dc4cff80b7e33
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sat Apr 28 18:20:20 2018 +0200
tools/make-ext4fs: Fix build on MacOSX
MacOSX does not support "-Wl,-Bstatic" so do not force the static
linking.
We only copy the static libz library into the staging libraries
directories, the linker will anyway only find the static version and
link against that on all systems.
Fixes: 8dcd941d8b9 ("tools/zlib: move zlib build to tools")
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
tools/make-ext4fs/Makefile | 2 --
1 file changed, 2 deletions(-)
diff --git a/tools/make-ext4fs/Makefile b/tools/make-ext4fs/Makefile
index 97f9e63..f67ab6e 100644
--- a/tools/make-ext4fs/Makefile
+++ b/tools/make-ext4fs/Makefile
@@ -17,8 +17,6 @@ PKG_MIRROR_HASH:=d7ccd5e426b1d15331ff000a37dc15161f6eef594453e970fd584fcde5a2507
include $(INCLUDE_DIR)/host-build.mk
-HOST_MAKE_FLAGS += STATIC=1
-
define Host/Install
$(INSTALL_BIN) $(HOST_BUILD_DIR)/make_ext4fs $(STAGING_DIR_HOST)/bin/
endef
More information about the lede-commits
mailing list