[source] libubox: fix host build on macOS

LEDE Commits lede-commits at lists.infradead.org
Mon Feb 20 05:57:34 PST 2017


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/315498c163f9843ca87808f18b79b3876810e563

commit 315498c163f9843ca87808f18b79b3876810e563
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 e756467..ff9b0d3 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