From f9ccbb938224c2a0cbc9d3857ad5546b9be81a98 Mon Sep 17 00:00:00 2001 From: memento Date: Tue, 26 Dec 2023 17:42:22 -0600 Subject: [PATCH] (dbg) why is it not finding the lib? --- setup_support.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup_support.py b/setup_support.py index b71c78b72..00c1cddc4 100644 --- a/setup_support.py +++ b/setup_support.py @@ -71,7 +71,7 @@ def _find_lib(): str(subprocess.check_output(['pkg-config', '--cflags-only-I', 'libsecp256k1'])) # noqa S603 ] - print('libsecp256k1 found, using system library', file=sys.stderr) + print(f'libsecp256k1 found, using system library: {os.path.exists(os.path.join(includes[0][2:], "secp256k1.h"))}', file=sys.stderr) return os.path.exists(os.path.join(includes[0][2:], 'secp256k1_ecdh.h')) except (OSError, subprocess.CalledProcessError):