summaryrefslogtreecommitdiff
path: root/source4/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'source4/SConstruct')
-rw-r--r--source4/SConstruct13
1 files changed, 10 insertions, 3 deletions
diff --git a/source4/SConstruct b/source4/SConstruct
index ad63a292f4..99eabe9308 100644
--- a/source4/SConstruct
+++ b/source4/SConstruct
@@ -20,7 +20,13 @@ hostenv.Append(CPPPATH = ['#heimdal_build', '#heimdal/lib/krb5',
'#heimdal/kdc', '#heimdal/lib/roken',
'#heimdal/lib/com_err'])
-buildenv = hostenv.Copy()
+buildenv = hostenv
+
+cross_compiling = 0
+
+if cross_compiling:
+ buildenv = hostenv.Copy()
+ buildenv.BuildDir('build-env','.')
dynenv = hostenv.Copy()
@@ -50,5 +56,6 @@ Export('dynconfig')
SConscript(
dirs=['param','lib','torture','rpc_server','cldap_server','libcli',
'nbt_server','client','ldap_server','libnet','nsswitch','web_server',
- 'smbd','dsdb'],
- exports='hostenv')
+ 'smbd','dsdb','heimdal_build','ntptr','kdc','smb_server','ntvfs',
+ 'winbind','scripting','auth'],
+ exports='buildenv hostenv')