Enable DEP

pull/123/head
Chocobo1 2017-01-18 15:42:02 +08:00
parent 01281d1f1d
commit b350b0e1bc
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ case "$host" in
*-mingw*) *-mingw*)
CPPFLAGS="${CPPFLAGS} -DWIN32_LEAN_AND_MEAN" CPPFLAGS="${CPPFLAGS} -DWIN32_LEAN_AND_MEAN"
CPPFLAGS="${CPPFLAGS} -D_WIN32_WINNT=NTDDI_WINXP" CPPFLAGS="${CPPFLAGS} -D_WIN32_WINNT=NTDDI_WINXP"
LDFLAGS="${LDFLAGS} -Wl,--nxcompat"
;; ;;
*) *)
test "${enable_distonly}" = "no" && AC_MSG_ERROR([This project is supported for windows only.]) test "${enable_distonly}" = "no" && AC_MSG_ERROR([This project is supported for windows only.])