Commit ed83de24 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

contrib: qt: don't build release build in debug mode

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent c36eb466
......@@ -32,11 +32,17 @@ QT_SPEC := win32-g++
QT_PLATFORM := -xplatform win32-g++ -device-option CROSS_COMPILE=$(HOST)-
endif
QT_CONFIG := -static -release -opensource -confirm-license -no-pkg-config \
QT_CONFIG := -static -opensource -confirm-license -no-pkg-config \
-no-sql-sqlite -no-gif -qt-libjpeg -no-openssl -no-opengl -no-dbus \
-no-qml-debug -no-audio-backend -no-sql-odbc -no-pch \
-no-compile-examples -nomake examples
ifndef WITH_OPTIMIZATION
QT_CONFIG += -debug
else
QT_CONFIG += -release
endif
.qt: qt
cd $< && ./configure $(QT_PLATFORM) $(QT_CONFIG) -prefix $(PREFIX)
# Make && Install libraries
......
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