From 983d5afeadee2cb35de764a8bb6ffae5e35e9571 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 10 Mar 2006 11:25:19 +0000 Subject: r14139: Fix issue with undefined variables. (This used to be commit 03c06c6f7fedb0e47483cc6de7732c1e78e60703) --- source4/build/smb_build/TODO | 3 ++- source4/build/smb_build/makefile.pm | 6 +----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/source4/build/smb_build/TODO b/source4/build/smb_build/TODO index 480b6e31e4..c905e2fbb6 100644 --- a/source4/build/smb_build/TODO +++ b/source4/build/smb_build/TODO @@ -4,8 +4,9 @@ - saner names for some of the .pc files - .pc files also when there is a public header? - get rid of include/structs.h and include/proto.h + - support including a custom header by librpc/gen_ndr/*.c files +- plugin loading support in ldb - add register function to smbtorture -- improve (un)install scripts (rewrite in perl?) - proper #include dependencies: for each subsystem: - include line in Makefile 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} ); -- cgit