lbry-android-sdk/p4a/pythonforandroid/recipes/secp256k1/cross_compile.patch

13 lines
400 B
Diff
Raw Normal View History

2017-08-13 03:24:00 +02:00
diff --git a/setup.py b/setup.py
index bba4bce..b86b369 100644
--- a/setup.py
+++ b/setup.py
@@ -191,6 +192,7 @@ class build_clib(_build_clib):
"--disable-dependency-tracking",
"--with-pic",
"--enable-module-recovery",
+ "--host=%s" % os.environ['TOOLCHAIN_PREFIX'],
"--prefix",
os.path.abspath(self.build_clib),
]