Skip to content

Commit

Permalink
yaml: only build static library
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
luizluca committed Apr 25, 2023
1 parent 39c14b8 commit 786b3b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/yaml/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 786b3b9

Please sign in to comment.