From fe05089edf928fce8ed451027787c20896fc2cfa Mon Sep 17 00:00:00 2001 From: fivepiece Date: Mon, 26 Nov 2018 19:18:55 +0200 Subject: [PATCH] Allow override system libsecp with env. variable (#35) * allow override system libsecp with env. variable * rename secp override variable * Update setup_support.py --- setup_support.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup_support.py b/setup_support.py index e7a4f2e..6e19756 100644 --- a/setup_support.py +++ b/setup_support.py @@ -68,6 +68,9 @@ def build_flags(library, type_, path): def _find_lib(): + if 'COINCURVE_IGNORE_SYSTEM_LIB' in os.environ: + return False + from cffi import FFI ffi = FFI() try: