Skip to content

Commit

Permalink
fix mac & linux compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
bananaturtlesandwich committed Feb 8, 2024
1 parent 74bb9d8 commit acc6194
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
draft: true
prerelease: true
body: "# Changes"

# windows:
# needs: draft
# runs-on: windows-latest
Expand Down Expand Up @@ -63,6 +64,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v1
- name: install deps
run: |
sudo apt-get update; sudo apt-get install pkg-config libx11-dev libasound2-dev libudev-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libwayland-dev libxkbcommon-dev libgtk-3-dev
- name: build
run: cargo build -r
- name: upload
Expand Down
1 change: 1 addition & 0 deletions src/dialog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ pub fn respond(
None
}
};
#[cfg(target_os = "windows")]
#[link(name = "oo2core_win64", kind = "static")]
extern "C" {
fn OodleLZ_Decompress(
Expand Down

0 comments on commit acc6194

Please sign in to comment.