PKG_CONFIG_SYSROOT should not be set because MXE uses fully qualified paths. However, to satisfy the Qt build system's cross-compiling "sanity check", qtbase.mk defines PKG_CONFIG_SYSROOT_DIR=/ This causes pkg-config to prefix the system include and library paths with an extra /. Pkg-config does not strip these prefixed paths from --cflags and --libs output. The workaround here is to remove the PKG_CONFIG_SYSROOT_DIR definition in the wrapper script for pkg-config.pull/1788/head
parent
49c892298d
commit
ede738758e
Loading…
Reference in new issue