mirror of
https://github.com/openwrt/packages.git
synced 2025-02-20 17:56:12 +00:00
yaml: only build static library
Do not build shared libraries to avoid host programs to dynamic link libraries at non-standard paths. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
This commit is contained in:
@ -36,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/
|
||||
|
Reference in New Issue
Block a user