mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 14:37:57 +00:00
libubox: fix host build on macOS
Use the defaults instead of a custom non-portable Host/Install section Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
75b530a51b
commit
315498c163
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user