[Bug 513826] New: .pc files for mingw32 library include the sysroot
bugzilla at redhat.com
bugzilla at redhat.com
Sun Jul 26 12:05:11 UTC 2009
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: .pc files for mingw32 library include the sysroot
https://bugzilla.redhat.com/show_bug.cgi?id=513826
Summary: .pc files for mingw32 library include the sysroot
Product: Fedora
Version: 11
Platform: All
OS/Version: Linux
Status: NEW
Severity: medium
Priority: low
Component: mingw32-glib2
AssignedTo: rjones at redhat.com
ReportedBy: pbonzini at redhat.com
QAContact: extras-qa at fedoraproject.org
CC: lfarkas at lfarkas.org, t.sailer at alumni.ethz.ch,
berrange at redhat.com, rjones at redhat.com,
fedora-mingw at lists.fedoraproject.org
Depends on: 513825
Classification: Fedora
Target Release: ---
Description of problem:
The paths in the .pc files for mingw32 include the
/usr/i686-pc-mingw32/sys-root component. This would prevent using them within
the MSYS shell, for example.
It would be more correct to install them without the path and, in a
i686-pc-mingw32-pkg-config (see bug 513825), provide the PKG_CONFIG_SYSROOT_DIR
variable. The script would work like this then:
#! /bin/sh
PKG_CONFIG_SYSROOT_DIR=`i686-pc-mingw32-gcc --print-sysroot`
prefix=$PKG_CONFIG_SYSROOT_DIR/mingw
PKG_CONFIG_LIBDIR=$prefix/lib/pkgconfig:$prefix/share/pkgconfig
export PKG_CONFIG_LIBDIR # PKG_CONFIG_SYSROOT_DIR
exec pkg-config "$@"
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the mingw
mailing list