summaryrefslogtreecommitdiff
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
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)
-rw-r--r--source4/build/smb_build/main.pl4
-rw-r--r--source4/lib/ldb/ldb.pc.in1
-rw-r--r--source4/lib/talloc/talloc.pc.in1
3 files changed, 4 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});
diff --git a/source4/lib/ldb/ldb.pc.in b/source4/lib/ldb/ldb.pc.in
index d208d6b3c3..815d663a7c 100644
--- a/source4/lib/ldb/ldb.pc.in
+++ b/source4/lib/ldb/ldb.pc.in
@@ -12,3 +12,4 @@ Requires: talloc
Libs: -L${libdir} -lldb
Cflags: -I${includedir} @CFLAGS@
Modulesdir: ${modulesdir}
+URL: http://ldb.samba.org/
diff --git a/source4/lib/talloc/talloc.pc.in b/source4/lib/talloc/talloc.pc.in
index 2c2658ddfe..f93036a33d 100644
--- a/source4/lib/talloc/talloc.pc.in
+++ b/source4/lib/talloc/talloc.pc.in
@@ -8,3 +8,4 @@ Description: A hierarchical pool based memory system with destructors
Version: 4.0
Libs: -L${libdir} -ltalloc
Cflags: -I${includedir}
+URL: http://talloc.samba.org/