From: Miodrag Milanovic Date: Wed, 31 Jul 2019 15:31:07 +0000 (+0200) Subject: Fix yosys linking for mxe X-Git-Tag: yosys-0.9~13 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ce0de937f4036e70b18afd765428288596fa0200;p=yosys.git Fix yosys linking for mxe --- diff --git a/Makefile b/Makefile index d3b5b8fa6..579fff007 100644 --- a/Makefile +++ b/Makefile @@ -394,7 +394,7 @@ endif ifeq ($(CONFIG),mxe) CXXFLAGS += -DYOSYS_ENABLE_TCL -LDLIBS += -ltcl86 -lwsock32 -lws2_32 -lnetapi32 -lz +LDLIBS += -ltcl86 -lwsock32 -lws2_32 -lnetapi32 -lz -luserenv 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)