Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: i686-pc-mingw32-pkg-config shouldn't unset PKG_CONFIG_PATH https://bugzilla.redhat.com/show_bug.cgi?id=688171 Summary: i686-pc-mingw32-pkg-config shouldn't unset PKG_CONFIG_PATH Product: Fedora Version: rawhide Platform: Unspecified OS/Version: Unspecified Status: NEW Severity: unspecified Priority: unspecified Component: mingw32-filesystem AssignedTo: rjo...@redhat.com ReportedBy: bpee...@yahoo.co.uk QAContact: extras...@fedoraproject.org CC: rjo...@redhat.com, ka...@smartlink.ee, erik-fed...@vanpienbroek.nl, fedora-mi...@lists.fedoraproject.org, dr...@land.ru Classification: Fedora The MingW32 compiler on Fedora includes a wrapper script for pkg-config called i686-pc-mingw32-pkg-config that sets PKG_CONFIG_LIBDIR. Presumably the idea of this is to prevent pkg-config from picking up the native system .pc files when cross compiling for Windows. However the script also does “unset PKG_CONFIG_PATH”. This makes it very difficult to use pkg-config when using a custom cross-compile environment where all of your dependencies are installed in a non-standard prefix (typically somewhere in your home directory). I can't see why the script would want to unset PKG_CONFIG_PATH as this won't be typically set on a normal system so it's unlikely to pick up any native .pc files. A developer would usually want to explicitly set this variable when building in a custom environment so he or she would know to set it to only include the Win32 environment path. This was causing problems when cross-compiling Clutter on Fedora systems. Clutter includes a build script for cross-compiling that installs all of Clutter's dependencies into a custom prefix and then tries to set PKG_CONFIG_PATH to point to this prefix. However Fedora's pkg-config wrapper script prevents this variable from being passed to pkg-config. Clutter's build script now explicitly includes its own wrapper for pkg-config to work around Fedora. I think the solution is to just remove the line that unsets PKG_CONFIG_PATH. -- 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. _______________________________________________ mingw mailing list mingw@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/mingw