bindings: Fix out-of-tree build.

This closes #473.
This commit is contained in:
Uwe Hermann 2014-11-14 20:01:12 +01:00
parent b71356d631
commit b8721d7cf0
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ for compound in index.findall('compound'):
header = open(os.path.join(outdirname, 'include/libsigrok/enums.hpp'), 'w')
code = open(os.path.join(outdirname, 'enums.cpp'), 'w')
swig = open(os.path.join(outdirname, '../swig/enums.i'), 'w')
swig = open(os.path.join(dirname, '../swig/enums.i'), 'w')
for file in (header, code):
print("/* Generated file - edit enums.py instead! */", file=file)