removed "--defined" option from nm in gen-version-script.sh replaced functionality with grep
Matthias Guedemann
matthias.guedemann at googlemail.com
Tue Aug 30 05:46:14 PDT 2011
---
lib/gen-version-script.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/gen-version-script.sh b/lib/gen-version-script.sh
index ec80196..f71afec 100644
--- a/lib/gen-version-script.sh
+++ b/lib/gen-version-script.sh
@@ -12,7 +12,7 @@ HEADER=$1
shift
printf '{\nglobal:\n'
-nm --defined $* | awk '$3 ~ "Xapian.*Error" {print $3}' | sort | uniq | \
+nm $* | grep "^[0-f][0-f]*" | awk '$3 ~ "Xapian.*Error" {print $3}' | sort | uniq | \
while read sym; do
demangled=$(c++filt $sym)
case $demangled in
--
1.7.5.4
More information about the notmuch
mailing list