Browse Source

chore(build): enable ASLR and DEP protection for windows builds

Fixes #3452.
pull/3976/head
Zetok Zalbavar 9 years ago
parent
commit
5928413b28
No known key found for this signature in database
GPG Key ID: C953D3880212068A
  1. 3
      qtox.pro

3
qtox.pro

@ -119,6 +119,9 @@ contains(DEFINES, QTOX_PLATFORM_EXT) { @@ -119,6 +119,9 @@ contains(DEFINES, QTOX_PLATFORM_EXT) {
# Rules for Windows, Mac OSX, and Linux
win32 {
# windows-specific hardening (ASLR, DEP protection)
QMAKE_LFLAGS += -Wl,dynamicbase -Wl,nxcompat
RC_FILE = windows/qtox.rc
LIBS += -L$$PWD/libs/lib \
-ltoxav \

Loading…
Cancel
Save