Skip to content

Commit

Permalink
fix: make openssl staticlly linked.
Browse files Browse the repository at this point in the history
  • Loading branch information
epicbigcat committed Nov 23, 2024
1 parent e15644f commit 3d85331
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
mode: [release, debug]
runs-on: ubuntu-22.04 # for compatibility.
runs-on: ubuntu-20.04 # for compatibility.
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 2 additions & 0 deletions xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ target('allay')

remove_files("src/**_linux.*")
else
add_ldflags('-Bstatic')

remove_files("src/**_win32.*")
end

Expand Down

0 comments on commit 3d85331

Please sign in to comment.