summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-03-09 22:48:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:56:52 -0500
commit686c10afa2f36fb9ada0d85e164180869c47f939 (patch)
treeaadf14ee60cfdbe306faa913985029b03229c0b0 /source4
parent429a23c48d81f6b02449f5a7d01b2002849ae4e1 (diff)
downloadsamba-686c10afa2f36fb9ada0d85e164180869c47f939.tar.gz
samba-686c10afa2f36fb9ada0d85e164180869c47f939.tar.bz2
samba-686c10afa2f36fb9ada0d85e164180869c47f939.zip
r14117: fix a perl warning
jelmer: is there a better place to catch this? metze (This used to be commit 1e6ac4537024e7924333050125c33f792f982bbe)
Diffstat (limited to 'source4')
-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,