diff options
author | Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> | 2018-11-09 21:39:48 +0100 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2019-08-19 15:24:51 -0400 |
commit | 16b26361305e37258317cae0b29327de732e83c7 (patch) | |
tree | 66f86170168e6a88f66f4911665fa17dfcb09cb0 /eclass/meson.eclass | |
parent | dev-libs/libmissing: allow reinstalling itself (diff) | |
download | gentoo-16b26361305e37258317cae0b29327de732e83c7.tar.gz gentoo-16b26361305e37258317cae0b29327de732e83c7.tar.bz2 gentoo-16b26361305e37258317cae0b29327de732e83c7.zip |
meson.eclass: meson_src_{compile,install}: Pass "$@" to eninja.
Closes: https://bugs.gentoo.org/670788
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'eclass/meson.eclass')
-rw-r--r-- | eclass/meson.eclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/meson.eclass b/eclass/meson.eclass index cb213e15e12e..fa859ace996f 100644 --- a/eclass/meson.eclass +++ b/eclass/meson.eclass @@ -244,12 +244,13 @@ meson_src_configure() { } # @FUNCTION: meson_src_compile +# @USAGE: [extra ninja arguments] # @DESCRIPTION: # This is the meson_src_compile function. meson_src_compile() { debug-print-function ${FUNCNAME} "$@" - eninja -C "${BUILD_DIR}" + eninja -C "${BUILD_DIR}" "$@" } # @FUNCTION: meson_src_test @@ -276,12 +277,13 @@ meson_src_test() { } # @FUNCTION: meson_src_install +# @USAGE: [extra ninja install arguments] # @DESCRIPTION: # This is the meson_src_install function. meson_src_install() { debug-print-function ${FUNCNAME} "$@" - DESTDIR="${D}" eninja -C "${BUILD_DIR}" install + DESTDIR="${D}" eninja -C "${BUILD_DIR}" install "$@" einstalldocs } |