mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
chore(build): enable ASLR and DEP protection for windows builds
Fixes #3452.
This commit is contained in:
parent
fcd8eed7cd
commit
5928413b28
3
qtox.pro
3
qtox.pro
|
@ -119,6 +119,9 @@ contains(DEFINES, QTOX_PLATFORM_EXT) {
|
||||||
|
|
||||||
# Rules for Windows, Mac OSX, and Linux
|
# Rules for Windows, Mac OSX, and Linux
|
||||||
win32 {
|
win32 {
|
||||||
|
# windows-specific hardening (ASLR, DEP protection)
|
||||||
|
QMAKE_LFLAGS += -Wl,dynamicbase -Wl,nxcompat
|
||||||
|
|
||||||
RC_FILE = windows/qtox.rc
|
RC_FILE = windows/qtox.rc
|
||||||
LIBS += -L$$PWD/libs/lib \
|
LIBS += -L$$PWD/libs/lib \
|
||||||
-ltoxav \
|
-ltoxav \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user