summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
Diffstat (limited to 'source4/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 548d04f841..f468f51de1 100644
--- a/source4/build/smb_build/env.pm
+++ b/source4/build/smb_build/env.pm
@@ -59,6 +59,10 @@ sub PkgConfig($$$$$$$$$$$$)
print __FILE__.": creating $path\n";
+ if ($self->{config}->{libreplace_cv_immediate_structures} eq "yes") {
+ $cflags .= " -DHAVE_IMMEDIATE_STRUCTURES=1";
+ }
+
mkpath(dirname($path),0,0755);
open(OUT, ">$path") or die("Can't open $path: $!");