Skip to content

Commit

Permalink
scripts: Set env to out paths only
Browse files Browse the repository at this point in the history
Adding `/usr/lib` etc. is not required on MacOS and may
even resolve to the wrongs paths.
  • Loading branch information
Synss committed Jun 12, 2020
1 parent 99c5501 commit b594454
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/install-pymbedtls.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ version="${2:-*}"
python="cp$(python --version 2>&1 | perl -pe 's|^\w+\s(\d)\.(\d+)\.\d\w*$|\1\2|g')"
wheel="python_mbedtls-$version-$python-$python"'*.whl'

C_INCLUDE_PATH="/usr/include:$libdir/include"
LIBRARY_PATH="/usr/lib:$libdir/lib"
C_INCLUDE_PATH="$libdir/include"
LIBRARY_PATH="$libdir/lib"
LD_LIBRARY_PATH=$LIBRARY_PATH
DYLD_LIBRARY_PATH=$LIBRARY_PATH

Expand Down

0 comments on commit b594454

Please sign in to comment.