Mercurial > hg > syntilista
diff Makefile.cross-mingw-win32 @ 150:2a8c97753381
Make the backup stuff compile-time optional.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 28 Aug 2017 11:24:42 +0300 |
parents | 36c9cb759326 |
children | 87dfca9f704d |
line wrap: on
line diff
--- a/Makefile.cross-mingw-win32 Mon Aug 28 11:11:16 2017 +0300 +++ b/Makefile.cross-mingw-win32 Mon Aug 28 11:24:42 2017 +0300 @@ -1,9 +1,11 @@ ### ### For win32 version cross-compilation with MinGW suite @ Linux ### +USE_QTHTTP ?= yes + # Miscellaneous -QT5_MODULES = Core Gui Widgets Sql PrintSupport Network +QT5_MODULES = Core Gui Widgets Sql PrintSupport QT5_PREFIX ?= /misc/packages/qt5-src QT5_BASE ?= $(QT5_PREFIX)/qtbase BINTOOL_PREFIX ?= i686-w64-mingw32- @@ -14,6 +16,10 @@ # Compiler flags and linker flags DEFINES = -DUNICODE -DQT_NEEDS_QMAIN +ifeq ($(USE_QTHTTP),yes) +QT5_MODULES += Network +DEFINES += -DUSE_QTHTTP +endif INCPATH = -I. \ -I$(QT5_BASE)/include \ $(addprefix -I$(QT5_BASE)/include/Qt,$(QT5_MODULES)) \