0
0
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:
Luiz Angelo Daros de Luca
2023-04-25 13:48:22 -03:00
parent 39c14b859a
commit 786b3b9e9c

@ -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/