diff options
Diffstat (limited to 'build_tools')
-rwxr-xr-x | build_tools/strip_nonapi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_tools/strip_nonapi b/build_tools/strip_nonapi index c2262cafa..5a52eef1e 100755 --- a/build_tools/strip_nonapi +++ b/build_tools/strip_nonapi @@ -18,7 +18,7 @@ FILTER="${GREP} -v -e ^ast_ -e ^_ast_ -e ^__ast_ -e ^astman_ -e ^pbx_" case "${OSARCH}" in - linux-gnu) + linux-gnu|FreeBSD) nm ${1} | ${GREP} -e " T " | cut -d" " -f3 | ${FILTER} > striplist sed -e "s/^/-N /" striplist | xargs ${STRIP} ${1} rm -f striplist |