From 09465d802b8ce37ee87b6d104889059a6fa948e6 Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Tue, 19 Oct 2021 11:08:46 +0200 Subject: u-boot.mk: always link host libraries static Host libraries are only build static, so let's pass --static to pkg-config globally and remove the then unnecessary patches doing exactly that individually. Signed-off-by: Andre Heider --- include/u-boot.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/u-boot.mk b/include/u-boot.mk index 8c6941b88a..509b3d76dc 100644 --- a/include/u-boot.mk +++ b/include/u-boot.mk @@ -48,6 +48,7 @@ UBOOT_MAKE_FLAGS = \ STAGING_PREFIX="$(STAGING_DIR_HOST)" \ PKG_CONFIG_PATH="$(STAGING_DIR_HOST)/lib/pkgconfig" \ PKG_CONFIG_LIBDIR="$(STAGING_DIR_HOST)/lib/pkgconfig" \ + PKG_CONFIG_EXTRAARGS="--static" \ $(if $(findstring c,$(OPENWRT_VERBOSE)),V=1,V='') define Build/U-Boot/Target -- cgit v1.2.3