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:
parent
789e1088c9
commit
033b4382c0
@ -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" ;
|
||||
|
@ -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}"
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user