mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-28 13:00:42 -09:00
package/pkg-meson.mk: add 'setup' as meson command in config step
When building/configure meson packages the following warning is
displayed:
WARNING: Running the setup command as meson [options] instead
of meson setup [options] is ambiguous and deprecated.
This warning was introduced in meson release 0.64.0 [0], which we are
using since commit 9afa3e3c7d (package/meson: bump to version 0.64.0),
and is dpcumented in the manual [1].
Follow the advise and the manual, and add the 'setup' argument as the
meson command.
[0] 3c7ab542c0
[1] https://mesonbuild.com/Commands.html#setup
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
committed by
Yann E. MORIN
parent
071fdbf963
commit
d23d6fde81
@@ -149,7 +149,7 @@ define $(2)_CONFIGURE_CMDS
|
||||
CC_FOR_BUILD="$$(HOSTCC)" \
|
||||
CXX_FOR_BUILD="$$(HOSTCXX)" \
|
||||
$$($$(PKG)_CONF_ENV) \
|
||||
$$(MESON) \
|
||||
$$(MESON) setup \
|
||||
--prefix=/usr \
|
||||
--libdir=lib \
|
||||
--default-library=$(if $(BR2_STATIC_LIBS),static,shared) \
|
||||
@@ -169,7 +169,7 @@ define $(2)_CONFIGURE_CMDS
|
||||
rm -rf $$($$(PKG)_SRCDIR)/build
|
||||
mkdir -p $$($$(PKG)_SRCDIR)/build
|
||||
$$(HOST_CONFIGURE_OPTS) \
|
||||
$$($$(PKG)_CONF_ENV) $$(MESON) \
|
||||
$$($$(PKG)_CONF_ENV) $$(MESON) setup \
|
||||
--prefix=$$(HOST_DIR) \
|
||||
--libdir=lib \
|
||||
--sysconfdir=$$(HOST_DIR)/etc \
|
||||
|
||||
Reference in New Issue
Block a user