From 686c10afa2f36fb9ada0d85e164180869c47f939 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 9 Mar 2006 22:48:33 +0000 Subject: r14117: fix a perl warning jelmer: is there a better place to catch this? metze (This used to be commit 1e6ac4537024e7924333050125c33f792f982bbe) --- source4/build/smb_build/makefile.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/build/smb_build') 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, -- cgit