diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-04-25 16:35:06 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:04:25 -0500 |
commit | 1cc7c693ad94aec88d231d77afc08b38065ae37c (patch) | |
tree | e1ad910f73ac4254022efb2edee3c68f5863c69c /source4/build/smb_build/env.pm | |
parent | 4333993e90255704fd3e7089ded29cc37e55bb66 (diff) | |
download | samba-1cc7c693ad94aec88d231d77afc08b38065ae37c.tar.gz samba-1cc7c693ad94aec88d231d77afc08b38065ae37c.tar.bz2 samba-1cc7c693ad94aec88d231d77afc08b38065ae37c.zip |
r15248: Fix automatic dependencies build
(This used to be commit 3e5aa5e7940ebbb961c53418d170495860f514a0)
Diffstat (limited to 'source4/build/smb_build/env.pm')
-rw-r--r-- | source4/build/smb_build/env.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/build/smb_build/env.pm b/source4/build/smb_build/env.pm index f6de8ce57f..1fdaf87ad7 100644 --- a/source4/build/smb_build/env.pm +++ b/source4/build/smb_build/env.pm @@ -53,9 +53,9 @@ sub _set_config($$) $self->{automatic_deps} = ($self->{config}->{automatic_dependencies} eq "yes"); } -sub PkgConfig($$$$$$$$) +sub PkgConfig($$$$$$$$$$) { - my ($self,$path,$name,$libs,$cflags,$version,$desc,$hasmodules) = @_; + my ($self,$path,$name,$libs,$cflags,$version,$desc,$hasmodules,$pubdep,$privdep) = @_; print __FILE__.": creating $path\n"; @@ -83,6 +83,8 @@ __EOF__ if (defined($desc)) { print OUT "Description: $desc\n"; } + print OUT "Requires: $pubdep\n" if defined($pubdep); + print OUT "Requires.private: $privdep\n" if defined($privdep); print OUT "Version: $version\n"; print OUT "Libs: -L\${libdir} $libs\n"; print OUT "Cflags: -I\${includedir} $cflags\n"; |