debug
This commit is contained in:
parent
ceff0bd694
commit
39c474fa22
10
build.sh
10
build.sh
|
@ -1,9 +1 @@
|
|||
g++ -shared -fPIC -std=c++11 \
|
||||
$(python3 -m pybind11 --includes) \ # 自动获取 pybind11 和 Python 头文件路径
|
||||
-I./include \ # 保留自定义头文件路径
|
||||
-L./lib -L/usr/lib/x86_64-linux-gnu \
|
||||
-lMRTCEngine \ # 保留其他必要库
|
||||
-lpython3.10 \ # 仍然需要链接 Python
|
||||
-Wl,-rpath='$ORIGIN/lib' \ # 保留运行时库路径
|
||||
-o rtc_plugins$(python3-config --extension-suffix) \ # 标准化输出文件名
|
||||
rtc_plugins.cpp util/RTCContext.cpp
|
||||
g++ -shared -fPIC -std=c++11 $(python3 -m pybind11 --includes) -I./include -L./lib -L/usr/lib/x86_64-linux-gnu -lMRTCEngine -lpython3.10 -Wl,-rpath='$ORIGIN/lib' -o rtc_plugins$(python3-config --extension-suffix) rtc_plugins.cpp util/RTCContext.cpp
|
||||
|
|
Loading…
Reference in New Issue