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

13 lines
400 B
Diff
Raw Normal View History

2022-12-02 21:15:34 +01: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),
]