summaryrefslogtreecommitdiff
path: root/source4/build/smb_build
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-20 00:28:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:58:52 -0500
commit18cddd580e04344e05593d9f63beb9ead53cfab2 (patch)
tree7e49547cc37afcf2f3b974bf21d3bfd3ebcdfb20 /source4/build/smb_build
parent679a993329fddc320e4c67d2b66b5874c189b142 (diff)
downloadsamba-18cddd580e04344e05593d9f63beb9ead53cfab2.tar.gz
samba-18cddd580e04344e05593d9f63beb9ead53cfab2.tar.bz2
samba-18cddd580e04344e05593d9f63beb9ead53cfab2.zip
r14575: Move some path-related functions to libsamba-config so libsamba-util
doesn't have to depend on the lp_* functions. (This used to be commit f97df7d90a41b77a9edd2d6bdc47c27bf1b6bb07)
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r--source4/build/smb_build/makefile.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index 03c172c38d..46345283cb 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -424,10 +424,7 @@ sub PkgConfig($$)
$link_name =~ s/^LIB//g;
$link_name = lc($link_name);
- if (not defined($ctx->{DESCRIPTION})) {
- warn("$ctx->{NAME} has not DESCRIPTION set, not generating .pc file");
- return;
- }
+ return if (not defined($ctx->{DESCRIPTION}));
my $path = "$ctx->{BASEDIR}/$link_name.pc";