瀏覽代碼

Makefile: Fix shared library build in MinGW.

This enables -no-undefined linker flag in mingw toolchain.
Previous related commit 9c2c9f8af4c1e0073284baceb34a5c88f0e33b49
Biswapriyo Nath 4 年之前
父節點
當前提交
e86dbc4591
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      makefile.shared

+ 1 - 1
makefile.shared

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