Fixed build with Cygwin and MinGW-w64 when *not* using the "shared" library.
This commit is contained in:
parent
d0deac3a65
commit
1f26d15160
2
Makefile
2
Makefile
@ -79,7 +79,7 @@ endif
|
||||
|
||||
ifneq (,$(firstword $(filter %mingw32 %-windows-gnu %-cygwin %-cygnus,$(MACHINE))))
|
||||
EXE_SUFFIX := .exe
|
||||
LIB_SUFFIX := .$(if $(subst 0,,$(SHARED)),dll,lib)
|
||||
LIB_SUFFIX := .$(if $(subst 0,,$(SHARED)),dll,a)
|
||||
else
|
||||
LIB_SUFFIX := .$(if $(subst 0,,$(SHARED)),$(if $(findstring -apple-darwin,$(MACHINE)),dylib,so),a)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user