Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MbedTLS]: Fix lack of +x permissions on DLLs #2105

Merged
merged 3 commits into from
Nov 13, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions M/MbedTLS/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ cmake -DCMAKE_INSTALL_PREFIX=${prefix} \
-DUSE_SHARED_MBEDTLS_LIBRARY=On \
..
make -j${nproc} && make install

if [[ "${target}" == *mingw* ]]; then
# For some reason, the build system doesn't set the `.dll` files as
# executable, which prevents them from being loaded. Also, we need
# to explicitly use `${prefix}/lib` here because the build system
# is a simple one, and blindly uses `/lib`, even on Windows.
chmod +x ${prefix}/lib/*.dll
fi
"""

# These are the platforms we will build for by default, unless further
Expand Down