From dbe5084f8e21565168b83cef17a0dec9032a3f50 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 8 Nov 2006 14:36:30 +0000 Subject: 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) --- source4/build/smb_build/main.pl | 4 ++-- source4/lib/ldb/ldb.pc.in | 1 + source4/lib/talloc/talloc.pc.in | 1 + 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/ -- cgit