From 786b3b9e9c55ea12c874ca8f425e97fbe72ada9c Mon Sep 17 00:00:00 2001 From: Luiz Angelo Daros de Luca Date: Tue, 25 Apr 2023 13:48:22 -0300 Subject: [PATCH] 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 --- libs/yaml/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/yaml/Makefile b/libs/yaml/Makefile index fd2f28a230..bc1da75735 100644 --- a/libs/yaml/Makefile +++ b/libs/yaml/Makefile @@ -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/