1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-13 11:29:51 +03:00

Clang 7 allowed as well

This commit is contained in:
Bertrand Songis 2019-11-19 18:10:10 +01:00
parent d087fa1a20
commit 760f2f9c86
No known key found for this signature in database
GPG key ID: F189F79290FEC50F

View file

@ -15,7 +15,7 @@ if sys.platform == "darwin":
elif os.path.exists('/Library/Developer/CommandLineTools/usr/lib/libclang.dylib'):
clang.cindex.Config.set_library_file('/Library/Developer/CommandLineTools/usr/lib/libclang.dylib')
elif sys.platform.startswith("linux"):
for version in ("6.0", "3.8"):
for version in ("7", "6.0", "3.8"):
libclang = "/usr/lib/x86_64-linux-gnu/libclang-%s.so.1" % version
if os.path.exists(libclang):
clang.cindex.Config.set_library_file(libclang)