Commit 2eaadaa8 authored by Steve Lhomme's avatar Steve Lhomme

contrib: qt: fix pathes of private header on Msys2

For some reason gcc can't use the "" pathes relative to the headers they are
defined in. It may be because pathes are too long.
parent fa4dc991
......@@ -33,6 +33,10 @@ ifdef HAVE_WIN32
ifndef HAVE_WIN64
$(APPLY) $(SRC)/qt/0001-disable-qt_random_cpu.patch
endif
ifndef HAVE_CROSS_COMPILE
cd qt-$(QT_VERSION_FULL); for i in QtFontDatabaseSupport QtWindowsUIAutomationSupport QtEventDispatcherSupport QtCore; do \
sed -i -e 's,"../../../../../src,"../src,g' include/$$i/$(QT_VERSION)/$$i/private/*.h; done
endif
endif
$(MOVE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment