summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/makefile.pm
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-10 11:25:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:56:54 -0500
commit983d5afeadee2cb35de764a8bb6ffae5e35e9571 (patch)
tree7fa8f16c628aa77a26bedec8e70849ee77b4dcde /source4/build/smb_build/makefile.pm
parent966cf4aecedc07ed91d101c67aa8da08ce383163 (diff)
downloadsamba-983d5afeadee2cb35de764a8bb6ffae5e35e9571.tar.gz
samba-983d5afeadee2cb35de764a8bb6ffae5e35e9571.tar.bz2
samba-983d5afeadee2cb35de764a8bb6ffae5e35e9571.zip
r14139: Fix issue with undefined variables.
(This used to be commit 03c06c6f7fedb0e47483cc6de7732c1e78e60703)
Diffstat (limited to 'source4/build/smb_build/makefile.pm')
-rw-r--r--source4/build/smb_build/makefile.pm6
1 files changed, 1 insertions, 5 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index 0d4e584730..8eaf66ed8a 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -538,15 +538,11 @@ sub PkgConfig($$)
push (@{$self->{pc_files}}, $path);
- if (not defined($ctx->{CFLAGS}) ) {
- $ctx->{CFLAGS} = [];
- }
-
smb_build::env::PkgConfig($self,
$path,
$link_name,
$ctx->{OUTPUT},
- join(' ', @{$ctx->{CFLAGS}}),
+ "",
"$ctx->{MAJOR_VERSION}.$ctx->{MINOR_VERSION}.$ctx->{RELEASE_VERSION}",
$ctx->{DESCRIPTION}
);