1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

r19908: Fix order of paths in pc files.

This commit is contained in:
Jelmer Vernooij 2006-11-26 16:06:11 +00:00 committed by Gerald (Jerry) Carter
parent 789e1088c9
commit 033b4382c0
2 changed files with 12 additions and 12 deletions

View File

@ -66,8 +66,8 @@ sub PkgConfig($$$$$$$$$$$$)
mkpath(dirname($path),0,0755);
open(OUT, ">$path") or die("Can't open $path: $!");
foreach (keys %$dirs) {
print OUT "$_=" . $dirs->{$_} . "\n";
foreach (@$dirs) {
print OUT "$_\n";
}
if ($hasmodules) {
print OUT "modulesdir=$self->{config}->{modulesdir}/$name\n" ;

View File

@ -458,12 +458,12 @@ sub PkgConfig($$$)
defined($ctx->{INIT_FUNCTIONS}),
$pubs,
$privs,
{
"prefix" => $self->{config}->{prefix},
"exec_prefix" => $self->{config}->{exec_prefix},
"libdir" => $self->{config}->{libdir},
"includedir" => $self->{config}->{includedir}
}
[
"prefix=$self->{config}->{prefix}",
"exec_prefix=$self->{config}->{exec_prefix}",
"libdir=$self->{config}->{libdir}",
"includedir=$self->{config}->{includedir}"
]
);
smb_build::env::PkgConfig($self,
"bin/pkgconfig/$link_name-uninstalled.pc",
@ -476,10 +476,10 @@ sub PkgConfig($$$)
defined($ctx->{INIT_FUNCTIONS}),
$pubs,
$privs,
{
"prefix" => "bin/",
"includedir" => "$ctx->{BASEDIR}"
}
[
"prefix=bin/",
"includedir=$ctx->{BASEDIR}"
]
);
}