mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(build): fix ASLR and DEP protection for windows builds
This commit is contained in:
parent
311edce6fc
commit
ce0590d2d0
2
qtox.pro
2
qtox.pro
|
@ -121,7 +121,7 @@ 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)
|
# windows-specific hardening (ASLR, DEP protection)
|
||||||
QMAKE_LFLAGS += -Wl,dynamicbase -Wl,nxcompat
|
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 \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user