mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
11 lines
259 B
Bash
Executable file
11 lines
259 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Check for external symbols without uvg_ prefix.
|
|
|
|
set -eu${BASH+o pipefail}
|
|
|
|
if nm -go --defined-only ../lib/libuvg266.a | grep -v ' uvg_'; then
|
|
printf '%s\n' 'Only symbols prefixed with "uvg_" should be exported from libuvg266.'
|
|
false
|
|
fi
|