mirror of
https://github.com/YosysHQ/yosys
synced 2025-05-13 02:34:44 +00:00
Revert rpath strategy
This commit is contained in:
parent
66b25d15c1
commit
45eee94a8f
1 changed files with 1 additions and 7 deletions
8
Makefile
8
Makefile
|
@ -117,7 +117,7 @@ BREW_PREFIX := $(shell brew --prefix)/opt
|
|||
$(info $$BREW_PREFIX is [${BREW_PREFIX}])
|
||||
ifeq ($(ENABLE_PYOSYS),1)
|
||||
CXXFLAGS += -I$(BREW_PREFIX)/boost/include/boost
|
||||
LINKFLAGS += -L$(BREW_PREFIX)/boost/lib -rpath '$$ORIGIN'
|
||||
LINKFLAGS += -L$(BREW_PREFIX)/boost/lib -rpath /usr/local/lib
|
||||
endif
|
||||
CXXFLAGS += -I$(BREW_PREFIX)/readline/include
|
||||
LINKFLAGS += -L$(BREW_PREFIX)/readline/lib
|
||||
|
@ -383,12 +383,6 @@ BOOST_PYTHON_LIB ?= $(shell \
|
|||
$(call CHECK_BOOST_PYTHON,boost_python) \
|
||||
)
|
||||
|
||||
# Inside CentOS 7 Docker
|
||||
ifeq (${DOCKER_RUNNING},1)
|
||||
BOOST_PYTHON_LIB = -L/usr/lib64/boost169/ -lboost_python36
|
||||
CXXFLAGS += -I/usr/include/boost169/
|
||||
endif
|
||||
|
||||
ifeq ($(BOOST_PYTHON_LIB),)
|
||||
$(error BOOST_PYTHON_LIB could not be detected. Please define manually)
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue