diff options
Diffstat (limited to 'libkms')
-rwxr-xr-x | libkms/kms-symbol-check | 2 | ||||
-rw-r--r-- | libkms/meson.build | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/libkms/kms-symbol-check b/libkms/kms-symbol-check index 658b2692..a5c2120d 100755 --- a/libkms/kms-symbol-check +++ b/libkms/kms-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/LIBKMS_H_FILES | 4 | # A list of the latter should be available Makefile.sources/LIBKMS_H_FILES |
5 | 5 | ||
6 | FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libkms.so} | awk '{print $3}'| while read func; do | 6 | FUNCS=$($NM -D --format=bsd --defined-only ${1-.libs/libkms.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 |
diff --git a/libkms/meson.build b/libkms/meson.build index 9eff4313..86d1a4ee 100644 --- a/libkms/meson.build +++ b/libkms/meson.build | |||
@@ -70,5 +70,6 @@ pkg.generate( | |||
70 | test( | 70 | test( |
71 | 'kms-symbol-check', | 71 | 'kms-symbol-check', |
72 | prog_bash, | 72 | prog_bash, |
73 | env : env_test, | ||
73 | args : [files('kms-symbol-check'), libkms] | 74 | args : [files('kms-symbol-check'), libkms] |
74 | ) | 75 | ) |