mirror of https://git.wownero.com/dsc/mxe.git
Use pkg-config to get the Qt5 compiler/linker flags for the test program.
This commit is contained in:
parent
e49640ffdc
commit
abaeb80be5
|
@ -25,10 +25,7 @@ define $(PKG)_BUILD
|
|||
|
||||
'$(TARGET)-g++' \
|
||||
-W -Wall -Werror -std=c++0x -pedantic \
|
||||
-I'$(PREFIX)/$(TARGET)/qt5/include' \
|
||||
-I'$(PREFIX)/$(TARGET)/qt5/include/QtCore' \
|
||||
-I'$(PREFIX)/$(TARGET)/qt5/include/QtWidgets' \
|
||||
'$(2).cpp' -o '$(PREFIX)/$(TARGET)/bin/test-qscintilla2.exe' \
|
||||
-lqscintilla2 \
|
||||
$(shell grep QMAKE_PRL_LIBS "$(PREFIX)/$(TARGET)/qt5/lib/Qt5OpenGL.prl" | sed -e 's/.*=//')
|
||||
`'$(TARGET)-pkg-config' Qt5Widgets --cflags` \
|
||||
'$(2).cpp' -o '$(PREFIX)/$(TARGET)/bin/test-qscintilla2.exe' -lqscintilla2 \
|
||||
`'$(TARGET)-pkg-config' Qt5Widgets --libs`
|
||||
endef
|
||||
|
|
Loading…
Reference in New Issue