Makefile: Fix shared library build in MinGW.

This enables -no-undefined linker flag in mingw toolchain.
Previous related commit 9c2c9f8af4
This commit is contained in:
Biswapriyo Nath 2021-03-28 22:06:52 +05:30 committed by GitHub
parent 910d625277
commit e86dbc4591
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ else
endif
endif
ifeq ($(PLATFORM), CYGWIN)
ifneq ($(findstring $(PLATFORM),CYGWIN MINGW32 MINGW64 MSYS),)
NO_UNDEFINED:=-no-undefined
endif