From: Miodrag Milanovic Date: Thu, 22 Aug 2019 18:43:52 +0000 (+0200) Subject: do not require boost if pyosys is not used X-Git-Tag: yosys-0.9~8 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7fafaa896dc16e83347ab33cc649da1f8e8033b7;p=yosys.git do not require boost if pyosys is not used --- diff --git a/Makefile b/Makefile index 89155fae8..21f1c5f46 100644 --- a/Makefile +++ b/Makefile @@ -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)