From: Felix Fietkau Date: Wed, 5 Dec 2007 18:45:28 +0000 (+0000) Subject: busybox: Fix build on OSX/BSD (fix needs to be cleaned up.) X-Git-Tag: 8.09_rc1~2148 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=412bedd41c605430eb079681d7d48031f65e94f1;p=openwrt%2Fsvn-archive%2Fopenwrt.git busybox: Fix build on OSX/BSD (fix needs to be cleaned up.) Signed-off-by: Andy Boyett SVN-Revision: 9660 --- diff --git a/package/busybox/Makefile b/package/busybox/Makefile index e214bb3ca2..b6630225cd 100644 --- a/package/busybox/Makefile +++ b/package/busybox/Makefile @@ -56,6 +56,7 @@ define Build/Configure CC="$(TARGET_CC)" \ CROSS_COMPILE="$(TARGET_CROSS)" \ ARCH="$(ARCH)" \ + HOST_LOADLIBES=-lintl \ oldconfig endef @@ -70,7 +71,7 @@ define Build/Compile endef define Package/busybox/install - find $(PKG_BUILD_DIR) -lname "*busybox" -exec rm \{\} \; + $(FIND) $(PKG_BUILD_DIR) -lname "*busybox" -exec rm \{\} \; $(MAKE) -C $(PKG_BUILD_DIR) \ CC="$(TARGET_CC)" \ CROSS_COMPILE="$(TARGET_CROSS)" \