meson.eclass: export NM and READELF variables
authorMike Gilbert <floppym@gentoo.org>
Mon, 20 Apr 2020 15:14:37 +0000 (11:14 -0400)
committerMike Gilbert <floppym@gentoo.org>
Wed, 22 Apr 2020 18:08:28 +0000 (14:08 -0400)
These are used by the symbolextractor.py script in meson.

Closes: https://bugs.gentoo.org/717720
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
eclass/meson.eclass

index 2bd1dc0176090509902c1d82e5aa985ba702529b..81cfa7c38fc6469a5843f23cabe3420c0d6e1833 100644 (file)
@@ -261,6 +261,11 @@ meson_src_configure() {
                "${BUILD_DIR}"
        )
 
+       # Used by symbolextractor.py
+       # https://bugs.gentoo.org/717720
+       tc-export NM
+       tc-getPROG READELF readelf >/dev/null
+
        # https://bugs.gentoo.org/625396
        python_export_utf8_locale