mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
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 commit is contained in:
parent
2e4028162f
commit
826b9ab07b
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user