From: Norbert Lange Date: Tue, 15 Sep 2020 10:05:43 +0000 (+0200) Subject: package/pkg-meson.mk: fix generation of pkg_config_static prop X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=78da84eca9a4a5d584369b10792253a80c37a8f9;p=buildroot.git package/pkg-meson.mk: fix generation of pkg_config_static prop fixes following in the generated cross-complation.conf file: pkg_config_static = '$(if $(BR2_STATIC_LIBS),true,false)' Signed-off-by: Norbert Lange Reviewed-by: Peter Seiderer Signed-off-by: Yann E. MORIN --- diff --git a/package/pkg-meson.mk b/package/pkg-meson.mk index c3fe6df5d0..3a34ba703b 100644 --- a/package/pkg-meson.mk +++ b/package/pkg-meson.mk @@ -195,7 +195,7 @@ define PKG_MESON_INSTALL_CROSS_CONF -e "s%@TARGET_CXXFLAGS@%$(call make-sq-comma-list,$(TARGET_CXXFLAGS))@PKG_TARGET_CFLAGS@%g" \ -e 's%@HOST_DIR@%$(HOST_DIR)%g' \ -e 's%@STAGING_DIR@%$(STAGING_DIR)%g' \ - -e 's%@STATIC@%$$(if $$(BR2_STATIC_LIBS),true,false)%g' \ + -e 's%@STATIC@%$(if $(BR2_STATIC_LIBS),true,false)%g' \ $(HOST_MESON_PKGDIR)/cross-compilation.conf.in \ > $(HOST_DIR)/etc/meson/cross-compilation.conf.in sed -e 's%@PKG_TARGET_CFLAGS@%%g' \