support deepin when use make PythonAPI

This commit is contained in:
Firesuiry 2019-01-11 14:24:15 +08:00
parent 5714f69243
commit 7dad7ec413
1 changed files with 1 additions and 1 deletions

View File

@ -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)