This commit is contained in:
skdhg committed 2023-08-06 20:54:30 +05:45
1 parent 6af1855646
commit 8688adbe33
2 files changed
+2

No files matched your search

+1
View File
@@ -17,6 +17,7 @@ symphonia = { version = "0.5.3", features = ["all"] }
napi-build = "2.0.1"
cmake = "0.1"
bindgen = "0.59.1"
pkg-config = "0.3.17"
[profile.release]
lto = true
+1
View File
@@ -62,6 +62,7 @@ fn link_opus(is_static: bool, opus_build_dir: impl Display) {
#[cfg(any(unix, target_env = "gnu"))]
fn find_via_pkg_config(is_static: bool) -> bool {
use pkg_config;
pkg_config::Config::new()
.statik(is_static)
.probe("opus")