summaryrefslogtreecommitdiffstats
path: root/source-builder/config/qemu-1-1.cfg
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2015-09-22 09:01:28 +1000
committerChris Johns <chrisj@rtems.org>2016-02-24 09:56:11 +1100
commit7c0ded8e9b65723ff855abfe499f6048ebdd968e (patch)
treed6be1904c24cd15f159772fde6ff2382acd74e6f /source-builder/config/qemu-1-1.cfg
parentFix sb-build to reference the opts correctly. (diff)
downloadrtems-source-builder-7c0ded8e9b65723ff855abfe499f6048ebdd968e.tar.bz2
Fix pkgconfig for MSYS to allow QEMU to build.
Diffstat (limited to 'source-builder/config/qemu-1-1.cfg')
-rw-r--r--source-builder/config/qemu-1-1.cfg5
1 files changed, 5 insertions, 0 deletions
diff --git a/source-builder/config/qemu-1-1.cfg b/source-builder/config/qemu-1-1.cfg
index 8be7ea4..c19419f 100644
--- a/source-builder/config/qemu-1-1.cfg
+++ b/source-builder/config/qemu-1-1.cfg
@@ -65,6 +65,11 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
#
# The --extra-cflags and --extra-ldflags do not work as expected.
#
+ # Hack warning: MSYS2 does not seem to convert the path to
+ # a shell path from Windows so we keep them
+ # separate and handle it in the pkgconfig tool.
+ #
+ PKG_CONFIG_DEFAULT_PATH=${PKG_CONFIG_PATH} \
PKG_CONFIG_PATH=$SYSROOT/lib/pkgconfig \
PKG_CONFIG_BUILD_TOP_DIR=$SB_TMPROOT \
%{_ld_library_path}=$SYSROOT/lib \