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

Fix building OpenTX under OS X

The clang.index python library does not look in the default path where the library is installed
This commit is contained in:
Arne Schwabe 2016-03-21 05:48:55 +01:00
parent 43c70780b1
commit ad5b17900b

View file

@ -7,6 +7,10 @@ import clang.cindex
import time
import os
if sys.platform == "darwin":
clang.cindex.Config.set_library_file('/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libclang.dylib')
structs = []
def build_struct(cursor):