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( | |||
59 | test( | 59 | test( |
60 | 'radeon-symbol-check', | 60 | 'radeon-symbol-check', |
61 | prog_bash, | 61 | prog_bash, |
62 | env : env_test, | ||
62 | args : [files('radeon-symbol-check'), libdrm_radeon] | 63 | args : [files('radeon-symbol-check'), libdrm_radeon] |
63 | ) | 64 | ) |
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 @@ | |||
3 | # The following symbols (past the first five) are taken from the public headers. | 3 | # The following symbols (past the first five) are taken from the public headers. |
4 | # A list of the latter should be available Makefile.sources/LIBDRM_RADEON_H_FILES | 4 | # A list of the latter should be available Makefile.sources/LIBDRM_RADEON_H_FILES |
5 | 5 | ||
6 | FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_radeon.so} | awk '{print $3}'| while read func; do | 6 | FUNCS=$($NM -D --format=bsd --defined-only ${1-.libs/libdrm_radeon.so} | awk '{print $3}'| while read func; do |
7 | ( grep -q "^$func$" || echo $func ) <<EOF | 7 | ( grep -q "^$func$" || echo $func ) <<EOF |
8 | __bss_start | 8 | __bss_start |
9 | _edata | 9 | _edata |