lbry-android/p4a/pythonforandroid/recipes/secp256k1/cross_compile.patch
Akinwale Ariwodola 744cfaebc2 Initial commit
2017-08-13 02:24:00 +01:00

12 lines
400 B
Diff

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),
]