1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

build: Remove support for a system libsmbclient

With the new --private-libraries option, there is no longer the need
to have this support, which was aimed at avoiding the duplication
between two different libsmbclient binaries in a packaged
distribution.  By using --private-libraries instead, we do not
introduce a dependency between Samba 4.0 packages and whatever other
packages are on the system.

This effectivly reverts part of
e3ffb31554 while kpeeing the improved
SAMBA_LIBRARY declaration.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett
2012-04-23 15:03:05 +10:00
parent c45f2508d5
commit d910d848e3
2 changed files with 0 additions and 10 deletions

View File

@ -2,16 +2,7 @@
import Options, Logs
def configure(conf):
if conf.CHECK_BUNDLED_SYSTEM_PKG('smbclient', minversion='0'):
conf.define('USING_SYSTEM_LIBSMBCLIENT', 1)
def build(bld):
if bld.CONFIG_SET('USING_SYSTEM_LIBSMBCLIENT'):
Logs.info("\tSelected system libsmbclient build")
return
Logs.info("\tSelected embedded libsmbclient build")
bld.SAMBA3_LIBRARY('smbclient',
source='''
libsmb_cache.c

View File

@ -105,7 +105,6 @@ def configure(conf):
conf.RECURSE('selftest')
conf.RECURSE('source3')
conf.RECURSE('lib/addns')
conf.RECURSE('source3/libsmb')
conf.SAMBA_CHECK_UNDEFINED_SYMBOL_FLAGS()