diff options
Diffstat (limited to 'radeon')
-rw-r--r-- | radeon/meson.build | 1 | ||||
-rwxr-xr-x | radeon/radeon-symbol-check | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/radeon/meson.build b/radeon/meson.build index b02166fe..a4171b41 100644 --- a/radeon/meson.build +++ b/radeon/meson.build @@ -59,5 +59,6 @@ pkg.generate( test( 'radeon-symbol-check', prog_bash, + env : env_test, args : [files('radeon-symbol-check'), libdrm_radeon] ) diff --git a/radeon/radeon-symbol-check b/radeon/radeon-symbol-check index 0bf2ffcb..7d79d901 100755 --- a/radeon/radeon-symbol-check +++ b/radeon/radeon-symbol-check @@ -3,7 +3,7 @@ # The following symbols (past the first five) are taken from the public headers. # A list of the latter should be available Makefile.sources/LIBDRM_RADEON_H_FILES -FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_radeon.so} | awk '{print $3}'| while read func; do +FUNCS=$($NM -D --format=bsd --defined-only ${1-.libs/libdrm_radeon.so} | awk '{print $3}'| while read func; do ( grep -q "^$func$" || echo $func ) <<EOF __bss_start _edata |