Skip to content

Commit b320ee5

Browse files
committed
for building (but not shipping) C API we need truffle.h
1 parent 5781657 commit b320ee5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,6 +1156,7 @@ def _prepare_headers(self):
11561156
if os.path.exists(target_dir):
11571157
shutil.rmtree(target_dir)
11581158
shutil.copytree(os.path.join(self.src_dir(), "include"), target_dir)
1159+
shutil.copy(os.path.join(mx.dependency("SULONG_LEGACY").get_output(), "include", "truffle.h"), target_dir)
11591160

11601161
def build(self):
11611162
self._prepare_headers()

0 commit comments

Comments
 (0)