diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-12-15 16:32:08 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:47:24 -0500 |
commit | ab31a4421688142690a7903388abeb0786e7f4f9 (patch) | |
tree | 5d41d9d86937013d88e7cfde22df607b19b79271 /source4/build/smb_build | |
parent | f8be4e8a4fd853d97c5f3188e93747314618323a (diff) | |
download | samba-ab31a4421688142690a7903388abeb0786e7f4f9.tar.gz samba-ab31a4421688142690a7903388abeb0786e7f4f9.tar.bz2 samba-ab31a4421688142690a7903388abeb0786e7f4f9.zip |
r12254: Add some (hopefully correct) descriptions for libraries that are installed.
Install pkg-config files.
(This used to be commit a86abe84e2cae7c6188c094a92c6b62aace02fdf)
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r-- | source4/build/smb_build/makefile.pm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm index 986d1aa213..6982e28977 100644 --- a/source4/build/smb_build/makefile.pm +++ b/source4/build/smb_build/makefile.pm @@ -238,7 +238,7 @@ sub SharedLibrary($$) { my ($self,$ctx) = @_; - push (@{$self->{shared_libs}}, "bin/$ctx->{LIBRARY_NAME}"); + push (@{$self->{shared_libs}}, "bin/$ctx->{LIBRARY_REALNAME}"); $self->_prepare_list($ctx, "OBJ_LIST"); $self->_prepare_list($ctx, "CFLAGS"); @@ -408,6 +408,11 @@ sub PkgConfig($$) $link_name =~ s/^LIB//g; $link_name = lc($link_name); + if (not defined($ctx->{DESCRIPTION})) { + warn("$ctx->{NAME} has not DESCRIPTION set, not generating .pc file"); + return; + } + my $path = "$ctx->{BASEDIR}/$link_name.pc"; push (@{$self->{pc_files}}, $path); |