Skip to content

Commit

Permalink
try building osx with system mbedtls
Browse files Browse the repository at this point in the history
  • Loading branch information
ngam committed Dec 24, 2021
1 parent 4d2bee0 commit 1b1d170
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ make -C base version_git.jl.phony CC=$CC CXX=$CXX FC=$FC

export EXTRA_MAKEFLAGS=""
if [[ "${target_platform}" == osx-* ]]; then
export EXTRA_MAKEFLAGS="USE_SYSTEM_LIBGIT2=0 USE_SYSTEM_MBEDTLS=0"
export EXTRA_MAKEFLAGS="USE_SYSTEM_LIBGIT2=0 USE_SYSTEM_MBEDTLS=1"
elif [[ "${target_platform}" == linux-* ]]; then
export EXTRA_MAKEFLAGS="USE_SYSTEM_LIBGIT2=1 USE_SYSTEM_MBEDTLS=1"
fi
Expand Down
6 changes: 4 additions & 2 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ requirements:
- libssh2
- libosxunwind # [osx]
- libunwind # [linux]
- mbedtls # [not osx]
# - mbedtls # [not osx]
- mbedtls
- arpack
- suitesparse
- pcre2
Expand All @@ -69,7 +70,8 @@ requirements:
- curl
- libgit2 # [not osx]
- libssh2
- mbedtls # [not osx]
# - mbedtls # [not osx]
- mbedtls
- git
- libutf8proc
- libnghttp2
Expand Down

0 comments on commit 1b1d170

Please sign in to comment.