1
0
Fork 0

32-bit mingw doesn't use prefix for dlltool

pull/29/head
Leonard König 2018-06-20 19:38:45 +02:00
parent 2a8bbc82dc
commit 70f13e02fc
1 changed files with 5 additions and 1 deletions

View File

@ -4,7 +4,11 @@ MINGW32 ?= i686-w64-mingw32
_CXX ?= g++ _CXX ?= g++
CXX=$(MINGW32)-$(_CXX) CXX=$(MINGW32)-$(_CXX)
DLLTOOL=$(MINGW32)-dlltool ifeq ($(MINGW32), "mingw32")
DLLTOOL=dlltool
else
DLLTOOL=$(MINGW32)-dlltool
endif
# Clang doesn't understand permissive compilation, we need to "fix" invalid # Clang doesn't understand permissive compilation, we need to "fix" invalid
# casts from a pointer type there using # casts from a pointer type there using