support deepin when use make PythonAPI
This commit is contained in:
parent
5714f69243
commit
7dad7ec413
|
@ -25,7 +25,7 @@ def get_libcarla_extensions():
|
||||||
yield os.path.join(root, filename)
|
yield os.path.join(root, filename)
|
||||||
|
|
||||||
if os.name == "posix":
|
if os.name == "posix":
|
||||||
if platform.dist()[0].lower() in ["ubuntu", "debian"]:
|
if platform.dist()[0].lower() in ["ubuntu", "debian","deepin"]:
|
||||||
pwd = os.path.dirname(os.path.realpath(__file__))
|
pwd = os.path.dirname(os.path.realpath(__file__))
|
||||||
pylib = "libboost_python%d%d.a" % (sys.version_info.major,
|
pylib = "libboost_python%d%d.a" % (sys.version_info.major,
|
||||||
sys.version_info.minor)
|
sys.version_info.minor)
|
||||||
|
|
Loading…
Reference in New Issue