Skip to content

Commit

Permalink
Fix macOS and Linux CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
Apprentice-Alchemist committed Mar 2, 2022
1 parent f61d7cd commit ac8e543
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgl1-mesa-dev libglu1-mesa-dev g++-multilib gcc-multilib libasound2-dev libx11-dev libxext-dev libxi-dev libxrandr-dev libxinerama-dev
sudo apt-get install -y libgl1-mesa-dev libglu1-mesa-dev g++-multilib gcc-multilib libasound2-dev libx11-dev libxext-dev libxi-dev libxrandr-dev libxinerama-dev libmbedtls-dev
- uses: krdlab/setup-haxe@v1
with:
Expand Down
3 changes: 3 additions & 0 deletions project/BuildHashlink.xml
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,9 @@
<lib name="Crypt32.lib" if="windows"/>
<lib name="ws2_32.lib" if="windows"/>

<!-- Find homebrews mbedtls -->
<lib name="-L/usr/local/lib" if="mac"/>

<lib name="-lmbedtls" unless="windows" />
<lib name="-lmbedx509" unless="windows" />
<lib name="-lmbedcrypto" unless="windows" />
Expand Down

0 comments on commit ac8e543

Please sign in to comment.