From 70f13e02fc6da29b78b7dae71af55dcd69f0a834 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonard=20K=C3=B6nig?= Date: Wed, 20 Jun 2018 19:38:45 +0200 Subject: [PATCH] 32-bit mingw doesn't use prefix for dlltool --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c795a0b..8e942d2 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,11 @@ MINGW32 ?= i686-w64-mingw32 _CXX ?= g++ 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 # casts from a pointer type there using