Remove -lboost_system -lboost_filesystem for everything except CentOS 7

This commit is contained in:
Akash Levy 2025-08-20 10:28:30 -07:00
parent ce972ae7a2
commit 037675663f
1 changed files with 2 additions and 2 deletions

View File

@ -376,7 +376,7 @@ BOOST_PYTHON_LIB ?= $(shell \
# Inside CentOS 7
ifeq (${PLATFORM},centos7)
BOOST_PYTHON_LIB = -L/opt/boost/lib -lboost_python38
BOOST_PYTHON_LIB = -L/opt/boost/lib -lboost_python38 -lboost_system -lboost_filesystem
CXXFLAGS += -I/opt/boost/include
endif
@ -384,7 +384,7 @@ ifeq ($(BOOST_PYTHON_LIB),)
$(error BOOST_PYTHON_LIB could not be detected. Please define manually)
endif
LIBS += $(BOOST_PYTHON_LIB) -lboost_system -lboost_filesystem
LIBS += $(BOOST_PYTHON_LIB)
PY_WRAPPER_FILE = kernel/python_wrappers
OBJS += $(PY_WRAPPER_FILE).o
PY_GEN_SCRIPT= py_wrap_generator