Skip to content
Closed
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,14 @@ jobs:
uses: actions/checkout@v6
- name: Install system dependencies
run: brew install gexiv2
- name: Work around gexiv2 versioned naming discrepance
run: ln -s /opt/homebrew/lib/pkgconfig/gexiv2-0.16.pc /opt/homebrew/lib/pkgconfig/gexiv2.pc
- name: Install Rust and Cargo
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- name: Show environment info
run: |
ls -AlhR /opt/homebrew/Cellar/gexiv2
ls -AlhR /opt/homebrew/lib/pkgconfig
rustc --version --verbose && echo ""
cargo --version --verbose
- name: Build
Expand Down
4 changes: 2 additions & 2 deletions SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ brew update
brew install gexiv2 pkgconf
```

For the build to succeed, you will have to tell `pkg-config` where Homebrew
installed some relevant libraries, using:
For the build to succeed, you may have to tell `pkgconf` where Homebrew
installed relevant libraries, using `PKG_CONFIG_PATH`. For example,

```shell
export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"
Expand Down
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ fn main() {
.unwrap_or_else(|e| {
eprintln!(
"\nThe gexiv2 library was not found by pkg-config/pkgconf on your system.\n\n\
Consult the README.md file for suggestions on how to acquire it."
Consult README.md or SETUP.md for suggestions on how to acquire it."
);
panic!("{}", e);
});
Expand Down
Loading