[PATCH 0/8] Various fixes for Windows

Dan Nicholson dbn.lists at gmail.com
Sat Apr 6 09:17:36 PDT 2013


Here are some patches I put together trying to get a Windows build
working in a couple ways. After this, make check passes both when I
build natively on Windows from MSYS/MinGW, but also using the MinGW
cross-compile target on Linux and testing through Wine.

Dan Nicholson (8):
  Check $host rather than $build when deciding native Win32
  Adjust expected path for native Windows test
  Flush stderr when not immediately exiting
  Mangle expected sysroot output to match MSYS shell
  Adjust PKG_CONFIG_PATH for tests correctly on Windows
  Substitute TESTS_PKG_CONFIG from configure
  Check for Wine when cross-compiling to Windows
  Run cmd through Wine when available

 check/Makefile.am      |  1 -
 check/check-path       | 29 +++++++++++++++++++++--------
 check/check-sort-order |  5 +++--
 check/check-sysroot    |  9 +++++++--
 check/config.sh.in     |  3 +++
 configure.ac           | 14 +++++++++++++-
 main.c                 |  2 ++
 7 files changed, 49 insertions(+), 14 deletions(-)

-- 
1.8.1.4



More information about the pkg-config mailing list