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-22 22:37:23 +01:00
parent 43c70780b1
commit ad5b17900b
+4
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):