mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
headers: cope with non-system popt in test_headers
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Mar 16 09:09:40 CET 2011 on sn-devel-104
This commit is contained in:
parent
3cfa8216b9
commit
46384cf60a
@ -24,11 +24,14 @@ bld.SAMBA_GENERATOR('test_headers.h',
|
||||
target='test_headers.h')
|
||||
|
||||
cflags=''
|
||||
for lib in ['talloc', 'tevent', 'tdb', 'ldb' ]:
|
||||
for lib in ['talloc', 'tevent', 'tdb', 'ldb', 'popt' ]:
|
||||
ename = 'CPPPATH_%s' % lib.upper()
|
||||
for p in bld.env[ename]:
|
||||
cflags += bld.env.CPPPATH_ST % p + ' '
|
||||
|
||||
if not bld.env.USING_SYSTEM_POPT:
|
||||
cflags += bld.env.CPPPATH_ST % '../lib/popt'
|
||||
|
||||
if bld.env.DEVELOPER_MODE:
|
||||
bld.SAMBA_BINARY('test_headers',
|
||||
source='test_headers.c',
|
||||
|
Loading…
Reference in New Issue
Block a user