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:
parent
43c70780b1
commit
ad5b17900b
1 changed files with 4 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue