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

Add TBS Tango2/Mambo support (#8665)

This commit is contained in:
tbs-fpv 2021-08-23 23:38:18 +08:00 committed by GitHub
parent dfd721407d
commit 697184a517
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
275 changed files with 22401 additions and 792 deletions

View file

@ -1,4 +1,5 @@
#!/usr/bin/env python
from __future__ import print_function
import sys
import clang.cindex
@ -18,7 +19,7 @@ def find_libclang():
if os.path.exists(path):
return path
elif sys.platform.startswith("linux"):
for version in ("7", "6.0", "3.8"):
for version in ("10", "7", "6.0", "3.8"):
path = "/usr/lib/x86_64-linux-gnu/libclang-%s.so.1" % version
if os.path.exists(path):
return path