Skip to content

Commit

Permalink
(dbg) why is it not finding the lib?
Browse files Browse the repository at this point in the history
  • Loading branch information
MementoRC committed Dec 26, 2023
1 parent b028137 commit f9ccbb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit f9ccbb9

Please sign in to comment.