nixpkgs/pkgs/development/compilers/graalvm/003_mx_truffle.py.patch
2019-05-09 13:59:32 -04:00

13 lines
669 B
Diff

diff --git a/truffle/mx.truffle/mx_truffle.py b/truffle/mx.truffle/mx_truffle.py
index 8889c5ad810..add211a45c5 100644
--- a/truffle/mx.truffle/mx_truffle.py
+++ b/truffle/mx.truffle/mx_truffle.py
@@ -695,6 +695,7 @@ class LibffiBuildTask(mx.AbstractNativeBuildTask):
os.path.relpath(self.subject.delegate.dir, self.subject.suite.vc_dir)]
for patch in self.subject.patches:
mx.run(git_apply + [patch], cwd=self.subject.suite.vc_dir)
+ mx.run(['cp', os.path.join(os.getenv('TMP'), 'truffle.make'), os.path.join(self.subject.delegate.dir, 'Makefile')])
self.delegate.logBuild()
self.delegate.build()