diff options
-rw-r--r-- | buildtools/wafsamba/samba_bundled.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_bundled.py b/buildtools/wafsamba/samba_bundled.py index b936cdb01b8..23a0f092608 100644 --- a/buildtools/wafsamba/samba_bundled.py +++ b/buildtools/wafsamba/samba_bundled.py @@ -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 |