summaryrefslogtreecommitdiff
path: root/source4/build/smb_build
diff options
context:
space:
mode:
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";