1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-15 20:03:57 +02: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

View File

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