summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-02-25 17:24:52 +0100
committerMichael Adam <obnox@samba.org>2008-02-25 17:24:52 +0100
commit32dd3411195e3a0d5b2b05bc353e8045e07b6e5a (patch)
tree5e28127dcc0f235d8c3d53c9ef7913cdc6f5aa60
parentb46bf471712ae152722ded16676ead1cbf7b2577 (diff)
downloadsamba-32dd3411195e3a0d5b2b05bc353e8045e07b6e5a.tar.gz
samba-32dd3411195e3a0d5b2b05bc353e8045e07b6e5a.tar.bz2
samba-32dd3411195e3a0d5b2b05bc353e8045e07b6e5a.zip
Fix build on some systems : don't pass libraries to mkproto.awk
Currently, some static libraries have gone into object lists that are also passed to make proto. (This should probably be changed...) Then some awk versions fail when passed an non- existing lib/libtdb.a e.g.. This patch changes mkproto.sh to exclude \.a files from the list of files to process. Michael (This used to be commit 826b9ab07b58ca39350cca921002a4213ce7c7c9)
-rwxr-xr-xsource3/script/mkproto.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/script/mkproto.sh b/source3/script/mkproto.sh
index e46e73e3e9..8561f42dff 100755
--- a/source3/script/mkproto.sh
+++ b/source3/script/mkproto.sh
@@ -25,7 +25,7 @@ header="$1"
shift
headertmp="$header.$$.tmp~"
-proto_src="`echo $@ | tr ' ' '\n' | sed -e 's/\.o/\.c/g' | sort | uniq | egrep -v 'tdb/|wrapped|modules/getdate'`"
+proto_src="`echo $@ | tr ' ' '\n' | sed -e 's/\.o/\.c/g' | sort | uniq | egrep -v 'tdb/|wrapped|modules/getdate' | egrep -v '\.a$'`"
echo creating $header