mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3/wscript, s3/wscript_build: add libarchive dependency.
- add header and lib checks. Signed-off-by: Aurélien Aptel <aurelien.aptel@gmail.com> [ddiss@samba.org: rebase against makefile cleanup] Reviewed-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
50d069637d
commit
0babaf7e9d
@ -75,6 +75,10 @@ def configure(conf):
|
||||
if sys.platform != 'openbsd5':
|
||||
conf.ADD_LDFLAGS("-Wl,--export-dynamic", testflags=True)
|
||||
|
||||
# libarchive in smbclient
|
||||
conf.CHECK_HEADERS('archive.h')
|
||||
conf.CHECK_LIB('libarchive')
|
||||
|
||||
conf.CHECK_HEADERS('execinfo.h libexc.h libunwind.h netdb.h')
|
||||
conf.CHECK_HEADERS('linux/falloc.h')
|
||||
|
||||
|
@ -995,6 +995,7 @@ bld.SAMBA3_BINARY('client/smbclient',
|
||||
source='''client/client.c
|
||||
client/clitar.c
|
||||
client/dnsbrowse.c''',
|
||||
ldflags='-larchive',
|
||||
deps='''
|
||||
talloc
|
||||
popt_samba3
|
||||
|
Loading…
Reference in New Issue
Block a user