-
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* FEAT: Update libsecp256k1 to v0.5.0 * (fix) used wrong zip SHA * (ref) c-binding dependency on header * (ref) python module dependency on c-binding dependency on header. workaround for windows mishandling of pkg-config flags * (ref) simplify pkg-config path. add --msvc-syntax --dont-define-prefix * (fix) ruff check * (fix) still need to update github flow, tempted to remove it * (fix) remove COINCURVE_UPSTREAM_REF from workflow * (fix) remove COINCURVE_UPSTREAM_REF from workflow * (fix) remove COINCURVE_UPSTREAM_REF from workflow - shared flow * (fix) secp256k1 haeder dir for c-binding compilation * (fix) secp256k1 haeder dir for c-binding compilation * (fix) secp256k1 haeder dir for c-binding compilation * (fix) inattention, missing separating line * (fix) silly, copy-paste without updating the target to cffi-c-binding * (fix) more silliness, updated wrong variables, etc ...
- Loading branch information
Showing
4 changed files
with
15 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
function (SetSystemLibIfExists) | ||
set(_paths "$ENV{PKG_CONFIG_PATH}" "$ENV{CONDA_PREFIX}/Library/lib/pkgconfig" "$ENV{CONDA_PREFIX}/lib/pkgconfig") | ||
cmake_path(CONVERT "${_paths}" TO_NATIVE_PATH_LIST _paths) | ||
set(ENV{PKG_CONFIG_PATH} ${_paths}) | ||
|
||
set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH};$ENV{CONDA_PREFIX}/Library/lib/pkgconfig;$ENV{CONDA_PREFIX}/lib/pkgconfig") | ||
if(CMAKE_SYSTEM_NAME STREQUAL "Windows") | ||
set(PKG_CONFIG_EXECUTABLE "${PKG_CONFIG_EXECUTABLE};--msvc-syntax;--dont-define-prefix") | ||
endif() | ||
pkg_check_modules(VENDORED_AS_SYSTEM_LIB IMPORTED_TARGET GLOBAL ${VENDORED_LIBRARY_PKG_CONFIG}>=${VENDORED_LIBRARY_PKG_CONFIG_VERSION}) | ||
endfunction() |