summaryrefslogtreecommitdiff
path: root/source4/build/smb_build
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r--source4/build/smb_build/env.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/build/smb_build/env.pm b/source4/build/smb_build/env.pm
index 184d094d2d..7ff6627494 100644
--- a/source4/build/smb_build/env.pm
+++ b/source4/build/smb_build/env.pm
@@ -57,6 +57,10 @@ sub PkgConfig($$$$$$$$)
print __FILE__.": creating $path\n";
+ if ($self->{config}->{samba_cv_immediate_structures} eq "yes") {
+ $cflags .= " -DHAVE_IMMEDIATE_STRUCTURES=1";
+ }
+
open(OUT, ">$path") or die("Can't open $path: $!");
print OUT <<"__EOF__";