summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-18 17:31:24 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-18 17:32:26 +1000
commit3f1ebe805bbd38a4cf34f9feb1837f92a8de75d9 (patch)
tree5b2b1fd882a51e518e61359eaaf8592925e39045 /buildtools
parent1aa80f5788da34cd10141e6bfb5c263346dda75e (diff)
downloadsamba-3f1ebe805bbd38a4cf34f9feb1837f92a8de75d9.tar.gz
samba-3f1ebe805bbd38a4cf34f9feb1837f92a8de75d9.tar.bz2
samba-3f1ebe805bbd38a4cf34f9feb1837f92a8de75d9.zip
build: don't depend on the word size of nm output
the first column varies in length for different architectures
Diffstat (limited to 'buildtools')
-rwxr-xr-xbuildtools/scripts/abi_gen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/scripts/abi_gen.sh b/buildtools/scripts/abi_gen.sh
index fa708dd8e4..ce589c292e 100755
--- a/buildtools/scripts/abi_gen.sh
+++ b/buildtools/scripts/abi_gen.sh
@@ -10,7 +10,7 @@ cat <<EOF
set height 0
set width 0
EOF
-nm $SHAREDLIB | cut -c18- | egrep '^[DGTRVW]' | grep -v @ | cut -c3- | sort | while read s; do
+nm $SHAREDLIB | cut -d' ' -f2- | egrep '^[DGTRVW]' | grep -v @ | cut -c3- | sort | while read s; do
echo "echo $s: "
echo p $s
done