summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/build/smb_build/makefile.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index 8423221912..0d4e584730 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -538,6 +538,10 @@ sub PkgConfig($$)
push (@{$self->{pc_files}}, $path);
+ if (not defined($ctx->{CFLAGS}) ) {
+ $ctx->{CFLAGS} = [];
+ }
+
smb_build::env::PkgConfig($self,
$path,
$link_name,