diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2019-08-22 20:43:52 +0200 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2019-08-22 11:57:46 -0700 |
commit | 7fafaa896dc16e83347ab33cc649da1f8e8033b7 (patch) | |
tree | c13ee92981d2d3e9ca54228063d6ac0fbf5ce1f9 | |
parent | 68e673d687e18ec8e18555cda0a0d83ca2afc84d (diff) | |
download | yosys-7fafaa896dc16e83347ab33cc649da1f8e8033b7.tar.gz yosys-7fafaa896dc16e83347ab33cc649da1f8e8033b7.tar.bz2 yosys-7fafaa896dc16e83347ab33cc649da1f8e8033b7.zip |
do not require boost if pyosys is not used
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -90,8 +90,10 @@ PLUGIN_LDFLAGS += -undefined dynamic_lookup ifneq ($(shell which brew),) BREW_PREFIX := $(shell brew --prefix)/opt $(info $$BREW_PREFIX is [${BREW_PREFIX}]) +ifeq ($(ENABLE_PYOSYS),1) CXXFLAGS += -I$(BREW_PREFIX)/boost/include/boost LDFLAGS += -L$(BREW_PREFIX)/boost/lib +endif CXXFLAGS += -I$(BREW_PREFIX)/readline/include LDFLAGS += -L$(BREW_PREFIX)/readline/lib PKG_CONFIG_PATH := $(BREW_PREFIX)/libffi/lib/pkgconfig:$(PKG_CONFIG_PATH) |