package/pkg-meson.mk: fix generation of pkg_config_static prop
authorNorbert Lange <nolange79@gmail.com>
Tue, 15 Sep 2020 10:05:43 +0000 (12:05 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 27 Sep 2020 07:19:14 +0000 (09:19 +0200)
fixes following in the generated cross-complation.conf file:
pkg_config_static = '$(if $(BR2_STATIC_LIBS),true,false)'

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/pkg-meson.mk

index c3fe6df5d08b9d2f7baf09b2e0f6530fe72203df..3a34ba703b2a25534f5a1367d4b41e42eacb90db 100644 (file)
@@ -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' \