trivial pkgconfig fixes
This commit is contained in:
parent
f6b679e831
commit
ba26809ebb
1 changed files with 2 additions and 2 deletions
|
@ -196,12 +196,12 @@ sub copy_and_stubify ($)
|
||||||
{
|
{
|
||||||
my $pc = shift;
|
my $pc = shift;
|
||||||
|
|
||||||
`mkdir -p $destdir/lib/pkgconfig`;
|
`mkdir -p $destdir/usr/lib/pkgconfig`;
|
||||||
`mkdir -p $destdir/$pc->{libdir}` if (defined $pc->{libdir});
|
`mkdir -p $destdir/$pc->{libdir}` if (defined $pc->{libdir});
|
||||||
`mkdir -p $destdir/$pc->{includedir}` if (defined $pc->{includedir});
|
`mkdir -p $destdir/$pc->{includedir}` if (defined $pc->{includedir});
|
||||||
|
|
||||||
# copy .pc across - FIXME, may need to re-write paths
|
# copy .pc across - FIXME, may need to re-write paths
|
||||||
`cp -a $pc->{_File} $destdir/lib/pkgconfig`;
|
`cp -a $pc->{_File} $destdir/usr/lib/pkgconfig`;
|
||||||
|
|
||||||
# copy includes across
|
# copy includes across
|
||||||
my @includes = split (/ /, get_var ($pc, "Cflags"));
|
my @includes = split (/ /, get_var ($pc, "Cflags"));
|
||||||
|
|
Loading…
Reference in a new issue