build(waf): fix the abi_match for the pdb library
authorMichael Adam <obnox@samba.org>
Tue, 15 Jan 2013 14:35:09 +0000 (15:35 +0100)
committerAlexander Bokovoy <ab@samba.org>
Wed, 16 Jan 2013 20:31:00 +0000 (21:31 +0100)
The global wildcard match is automatically added by the parsing code
if the global match list is empty. Specifying an explicit '*' as the only
global match lets the parsing code add a second '*' to the local list,
which is an error tolerated on my linux by ld (the GNU linker), but
not by the stricter GNU ELF linker "gold".

Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>

Signed-off-by: Gregor Beck <gbeck@sernet.de>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Alexander Bokovoy <ab@samba.org>
Autobuild-User(master): Alexander Bokovoy <ab@samba.org>
Autobuild-Date(master): Wed Jan 16 21:31:00 CET 2013 on sn-devel-104

source3/wscript_build

index 107587d0bc553847f9ba8f31e95362712470a386..2e530f56f46907fc58946acaf943d654c835b109 100755 (executable)
@@ -731,7 +731,7 @@ bld.SAMBA3_LIBRARY('pdb',
                                include/passdb.h
                                passdb/machine_sid.h
                                passdb/lookup_sid.h''',
-                   abi_match=private_pdb_match + ['*'],
+                   abi_match=private_pdb_match,
                    abi_directory='passdb/ABI',
                    vnum='0',
                    vars=locals())