Skip to content

Commit

Permalink
(dbg) trying to figure out the windows annoyance
Browse files Browse the repository at this point in the history
  • Loading branch information
MementoRC committed Dec 20, 2023
1 parent c633c65 commit ff76128
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,9 @@ def run(self):
if BUILDING_FOR_WINDOWS:

class Distribution(_Distribution):
def has_c_libraries(self):
return not has_system_lib()

def is_pure(self):
return False

Expand Down
1 change: 1 addition & 0 deletions setup_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def _find_lib():

pkgconfig.configure_extension(extension, 'libsecp256k1', static=False)
package_info = pkgconfig.parse('libsecp256k1', static=False)
print(package_info)

return os.path.exists(os.path.join(package_info['include_dirs'][0], 'secp256k1_ecdh.h'))
except OSError:
Expand Down

0 comments on commit ff76128

Please sign in to comment.