diff --git a/libs/yaml/Makefile b/libs/yaml/Makefile index fcf06a50..bc1da757 100644 --- a/libs/yaml/Makefile +++ b/libs/yaml/Makefile @@ -24,6 +24,7 @@ PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/host-build.mk define Package/libyaml SUBMENU:=Languages @@ -35,6 +36,8 @@ endef TARGET_CFLAGS += $(FPIC) +HOST_CONFIGURE_ARGS += --disable-shared + define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/yaml.h $(1)/usr/include/ @@ -50,3 +53,4 @@ define Package/libyaml/install endef $(eval $(call BuildPackage,libyaml)) +$(eval $(call HostBuild))