Skip to content

Commit

Permalink
feat: Use vitasdk's pkg-config wrapper so that VITASDK variable gets set
Browse files Browse the repository at this point in the history
  • Loading branch information
pheki committed Feb 4, 2025
1 parent d564a13 commit 9313919
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/commands/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,7 @@ impl<'a> BuildContext<'a> {
.pass_path_env("OPENSSL_INCLUDE_DIR", || {
self.sdk("arm-vita-eabi").join("include")
})
.pass_path_env("PKG_CONFIG_PATH", || {
self.sdk("arm-vita-eabi").join("lib").join("pkgconfig")
})
.pass_path_env("PKG_CONFIG", || self.sdk_binary("arm-vita-eabi-pkg-config"))
.pass_env("PKG_CONFIG_SYSROOT_DIR", || &self.sdk)
.env("VITASDK", &self.sdk)
.arg("build")
Expand Down

0 comments on commit 9313919

Please sign in to comment.