s3:utils: Fix Inherit-Only flag being automatically propagated to children
[janger/samba-autobuild-v4-20-test/.git] / wscript_build_system_heimdal
index 4ea8cd7351f65a7333047f74fbc32495dbbab540..16ed3ed9ed807dae385f47ff8a165252fca25296 100644 (file)
@@ -1,4 +1,10 @@
-import Logs
+from waflib import Logs
 
 Logs.info("\tSelected system Heimdal build")
-bld.RECURSE('source4/heimdal_build')
+
+# Alias subsystem to allow common kerberos code that will
+# otherwise link against MIT's gssapi_krb5 and k5crypto
+#
+# Note: that we also need this if we use system heimdal libraries
+bld.SAMBA_SUBSYSTEM('gssapi_krb5', '', deps='gssapi')
+bld.SAMBA_SUBSYSTEM('k5crypto', '', deps='krb5')