mirror of
https://github.com/samba-team/samba.git
synced 2025-02-10 13:57:47 +03:00
r10334: Use CPPDEFINES instead of CCFLAGS for adding preprocessor symbols.
This commit is contained in:
parent
df4a923c64
commit
ba305886fd
@ -1,5 +1,4 @@
|
||||
#!/usr/bin/env python
|
||||
# tastes like -*- python -*-
|
||||
|
||||
# This is the experimental scons build script for Samba 4. For a proper
|
||||
# build use the old build system (configure + make). scons may
|
||||
@ -12,8 +11,9 @@ hostenv = Environment(
|
||||
toolpath=['build/scons','.'],
|
||||
tools=['default'],
|
||||
CPPPATH=['#include','#','#lib'],
|
||||
CCFLAGS='-D_SAMBA_BUILD_'
|
||||
CPPDEFINES={'_SAMBA_BUILD_': None},
|
||||
)
|
||||
|
||||
hostenv.Append(CPPPATH = ['#heimdal_build', '#heimdal/lib/krb5',
|
||||
'#heimdal/lib/hdb', '#heimdal/lib/gssapi',
|
||||
'#heimdal/lib/asn1', '#heimdal/lib/des',
|
||||
@ -48,4 +48,3 @@ dynconfig = dynenv.Object('dynconfig.c')
|
||||
Export('dynconfig')
|
||||
|
||||
SConscript(dirs=['param','lib'],exports='hostenv')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user