r19636: Add URLs to ldb and talloc pkg-config files.
authorJelmer Vernooij <jelmer@samba.org>
Wed, 8 Nov 2006 14:36:30 +0000 (14:36 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:25:22 +0000 (14:25 -0500)
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
source4/lib/ldb/ldb.pc.in
source4/lib/talloc/talloc.pc.in

index 54ba984d67a28ddd6a3d9f0223b817d6fc908b20..7500a8c81be43e20c147e714c1770fe5e88860bb 100644 (file)
@@ -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});
index d208d6b3c3f2613092ded59289c89276a77eca7c..815d663a7c89dc09d6a95b54a670316c5d5b7bae 100644 (file)
@@ -12,3 +12,4 @@ Requires: talloc
 Libs: -L${libdir} -lldb
 Cflags: -I${includedir} @CFLAGS@
 Modulesdir: ${modulesdir}
+URL: http://ldb.samba.org/
index 2c2658ddfe94b3c63f8e4c27d33cf5b0ab8584bf..f93036a33dbba718af32e8fa8f418a563193571c 100644 (file)
@@ -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/