Author: jelmer
Date: 2006-11-08 14:36:30 +0000 (Wed, 08 Nov 2006)
New Revision: 19636

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19636

Log:
Add URLs to ldb and talloc pkg-config files.
Always build and install .pc files as they make sense for static libs 
as well.

Modified:
   branches/SAMBA_4_0/source/build/smb_build/main.pl
   branches/SAMBA_4_0/source/lib/ldb/ldb.pc.in
   branches/SAMBA_4_0/source/lib/talloc/talloc.pc.in


Changeset:
Modified: branches/SAMBA_4_0/source/build/smb_build/main.pl
===================================================================
--- branches/SAMBA_4_0/source/build/smb_build/main.pl   2006-11-08 04:54:56 UTC 
(rev 19635)
+++ branches/SAMBA_4_0/source/build/smb_build/main.pl   2006-11-08 14:36:30 UTC 
(rev 19636)
@@ -53,8 +53,8 @@
        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});

Modified: branches/SAMBA_4_0/source/lib/ldb/ldb.pc.in
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/ldb.pc.in 2006-11-08 04:54:56 UTC (rev 
19635)
+++ branches/SAMBA_4_0/source/lib/ldb/ldb.pc.in 2006-11-08 14:36:30 UTC (rev 
19636)
@@ -12,3 +12,4 @@
 Libs: -L${libdir} -lldb
 Cflags: -I${includedir} @CFLAGS@
 Modulesdir: ${modulesdir}
+URL: http://ldb.samba.org/

Modified: branches/SAMBA_4_0/source/lib/talloc/talloc.pc.in
===================================================================
--- branches/SAMBA_4_0/source/lib/talloc/talloc.pc.in   2006-11-08 04:54:56 UTC 
(rev 19635)
+++ branches/SAMBA_4_0/source/lib/talloc/talloc.pc.in   2006-11-08 14:36:30 UTC 
(rev 19636)
@@ -8,3 +8,4 @@
 Version: 4.0
 Libs: -L${libdir} -ltalloc
 Cflags: -I${includedir} 
+URL: http://talloc.samba.org/

Reply via email to