projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
926cd10
)
do not require boost if pyosys is not used
author
Miodrag Milanovic
<mmicko@gmail.com>
Thu, 22 Aug 2019 18:43:52 +0000
(20:43 +0200)
committer
Miodrag Milanovic
<mmicko@gmail.com>
Thu, 22 Aug 2019 18:43:52 +0000
(20:43 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 6662230768ad1a0c0dd9f0db2c6f1b4edf67290b..a742f2e50f34c503b9f5b6dc4ed11151537a54a3 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-91,8
+91,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)