Add missing -lz to MXE build
authorClifford Wolf <clifford@clifford.at>
Sun, 22 Jul 2018 12:28:45 +0000 (14:28 +0200)
committerClifford Wolf <clifford@clifford.at>
Sun, 22 Jul 2018 12:28:45 +0000 (14:28 +0200)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Makefile

index 11803ec0a7dce3fc5539df4e62fee70cec72a5dc..2090a083aafd0283987fb4a998ac5bbddb3ff283 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -276,7 +276,7 @@ endif
 
 ifeq ($(CONFIG),mxe)
 CXXFLAGS += -DYOSYS_ENABLE_TCL
-LDLIBS += -ltcl86 -lwsock32 -lws2_32 -lnetapi32
+LDLIBS += -ltcl86 -lwsock32 -lws2_32 -lnetapi32 -lz
 else
 CXXFLAGS += $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --silence-errors --cflags tcl || echo -I$(TCL_INCLUDE)) -DYOSYS_ENABLE_TCL
 ifeq ($(OS), FreeBSD)