[source] libubox: fix host build on macOS

LEDE Commits lede-commits at lists.infradead.org
Sat Apr 8 05:49:47 PDT 2017


jow pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/5866ff8be8ef961cf17c4469f5afb54f91570b95

commit 5866ff8be8ef961cf17c4469f5afb54f91570b95
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Mon Feb 20 12:32:45 2017 +0100

    libubox: fix host build on macOS
    
    Use the defaults instead of a custom non-portable Host/Install section
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 package/libs/libubox/Makefile | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/package/libs/libubox/Makefile b/package/libs/libubox/Makefile
index 8eeb935..fa7107e 100644
--- a/package/libs/libubox/Makefile
+++ b/package/libs/libubox/Makefile
@@ -96,13 +96,6 @@ CMAKE_HOST_OPTIONS += \
 	-DBUILD_LUA=OFF \
 	-DBUILD_EXAMPLES=OFF \
 
-define Host/Install
-	$(INSTALL_DIR) $(STAGING_DIR_HOST)/include/libubox
-	$(INSTALL_BIN) $(HOST_BUILD_DIR)/*.h $(STAGING_DIR_HOST)/include/libubox/
-	$(INSTALL_DIR) $(STAGING_DIR_HOST)/lib
-	$(INSTALL_BIN) $(HOST_BUILD_DIR)/libubox.{a,so} $(STAGING_DIR_HOST)/lib/
-endef
-
 $(eval $(call BuildPackage,libubox))
 $(eval $(call BuildPackage,libblobmsg-json))
 $(eval $(call BuildPackage,jshn))



More information about the lede-commits mailing list