mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
Auto-detect TCL version
This commit is contained in:
parent
a038787c9b
commit
ac7d5e0658
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -123,7 +123,7 @@ LDLIBS += $(shell pkg-config --silence-errors --libs libffi || echo -lffi) -ldl
|
|||
endif
|
||||
|
||||
ifeq ($(ENABLE_TCL),1)
|
||||
TCL_VERSION ?= tcl8.5
|
||||
TCL_VERSION ?= tcl$(shell echo 'puts [info tclversion]' | tclsh)
|
||||
TCL_INCLUDE ?= /usr/include/$(TCL_VERSION)
|
||||
CXXFLAGS += -I$(TCL_INCLUDE) -DYOSYS_ENABLE_TCL
|
||||
LDLIBS += -l$(TCL_VERSION)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue