Add -lz for verific builds
authorClifford Wolf <clifford@clifford.at>
Tue, 27 Feb 2018 11:15:42 +0000 (12:15 +0100)
committerClifford Wolf <clifford@clifford.at>
Tue, 27 Feb 2018 11:15:42 +0000 (12:15 +0100)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Makefile

index 546de91e11c6519c22f6d377dd112e30e7de38fe..dab388f76a5bc1f3335d37749f1b94f6159ed0fa 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -281,7 +281,7 @@ ifeq ($(ENABLE_VERIFIC),1)
 VERIFIC_DIR ?= /usr/local/src/verific_lib_eval
 VERIFIC_COMPONENTS ?= verilog vhdl database util containers sdf
 CXXFLAGS += $(patsubst %,-I$(VERIFIC_DIR)/%,$(VERIFIC_COMPONENTS)) -DYOSYS_ENABLE_VERIFIC
-LDLIBS += $(patsubst %,$(VERIFIC_DIR)/%/*-linux.a,$(VERIFIC_COMPONENTS))
+LDLIBS += $(patsubst %,$(VERIFIC_DIR)/%/*-linux.a,$(VERIFIC_COMPONENTS)) -lz
 endif
 
 ifeq ($(ENABLE_COVER),1)