1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

wafsamba: allow --bundled-libraries=ALL,!popt

This will not bundle 'popt', but everything else.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Stefan Metzmacher 2014-03-14 10:48:56 +01:00 committed by Andrew Bartlett
parent c19e5a0386
commit cc765baa64

View File

@ -82,6 +82,8 @@ def LIB_MAY_BE_BUNDLED(conf, libname):
def LIB_MUST_BE_BUNDLED(conf, libname):
if libname in conf.env.BUNDLED_LIBS:
return True
if '!%s' % libname in conf.env.BUNDLED_LIBS:
return False
if 'ALL' in conf.env.BUNDLED_LIBS:
return True
return False