summaryrefslogtreecommitdiff
path: root/source4/build/smb_build
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-11-08 14:36:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:25:22 -0500
commitdbe5084f8e21565168b83cef17a0dec9032a3f50 (patch)
treedd16ceb57d5625a0d9a7a13c484e37a65416d7ca /source4/build/smb_build
parentcb3a884048f7ae5e3c25a4b2abe7ff57283cc0e6 (diff)
downloadsamba-dbe5084f8e21565168b83cef17a0dec9032a3f50.tar.gz
samba-dbe5084f8e21565168b83cef17a0dec9032a3f50.tar.bz2
samba-dbe5084f8e21565168b83cef17a0dec9032a3f50.zip
r19636: Add URLs to ldb and talloc pkg-config files.
Always build and install .pc files as they make sense for static libs as well. (This used to be commit 82cb91e2dd50899050066cccee82cb5be52ec3fe)
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r--source4/build/smb_build/main.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/build/smb_build/main.pl b/source4/build/smb_build/main.pl
index 54ba984d67..7500a8c81b 100644
--- a/source4/build/smb_build/main.pl
+++ b/source4/build/smb_build/main.pl
@@ -53,8 +53,8 @@ foreach my $key (values %$OUTPUT) {
next unless defined $key->{OUTPUT_TYPE};
$mkenv->StaticLibrary($key) if grep(/STATIC_LIBRARY/, @{$key->{OUTPUT_TYPE}});
- $mkenv->PkgConfig($key) if grep(/SHARED_LIBRARY/, @{$key->{OUTPUT_TYPE}})
- and defined($key->{VERSION});
+ $mkenv->PkgConfig($key) if $key->{TYPE} eq "LIBRARY"
+ and defined($key->{VERSION});
$mkenv->SharedLibrary($key) if grep(/SHARED_LIBRARY/, @{$key->{OUTPUT_TYPE}});
$mkenv->Binary($key) if grep(/BINARY/, @{$key->{OUTPUT_TYPE}});
$mkenv->Manpage($key) if defined($key->{MANPAGE});