diff options
author | Chris Johns <chrisj@rtems.org> | 2015-09-22 09:01:28 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2016-02-24 09:59:29 +1100 |
commit | c434884af121faf9c172dc660e61e384539cd003 (patch) | |
tree | eb70e1eec14031b941eaae11df2505ee8c6ed07e /source-builder/config/qemu-1-1.cfg | |
parent | Fix sb-build to reference the opts correctly. (diff) | |
download | rtems-source-builder-c434884af121faf9c172dc660e61e384539cd003.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.cfg | 5 |
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 \ |