defs-dev.mk, defs.mk, run.mk: Fix mingw32 build

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2016-11-09 14:03:37 +00:00
commit a7dc00db87
3 changed files with 14 additions and 8 deletions

View file

@ -113,13 +113,6 @@ MINOR_VERSION = $(shell echo $(MAJOR_MINOR_RELEASE) | cut -d. -f2)
RELEASE_VERSION = $(shell echo $(MAJOR_MINOR_RELEASE) | cut -d. -f3)
BUILD_NUMBER = $(shell echo $(DIST_VERSION) | cut -d- -f2)
CVS_RSH ?= /usr/bin/ssh
ifneq ($(EXE_BASENAME),)
ifneq ($(TARGET),mingw)
EXE ?= $(EXE_BASENAME)
else
EXE ?= $(EXE_BASENAME).exe
endif
endif
# ----- input dirs
YTOOLS_DIR = $(MODDIR)
@ -170,8 +163,10 @@ USE_YTOOLS ?= true
USE_EXCEPTIONS_IN_C ?= true
REENTRANT ?= true
ifneq ($(wildcard /usr/include/systemd/sd-daemon.h),)
ifneq ($(TARGET),mingw)
USE_SYSTEMD ?= true
endif
endif
export REENTRANT