mirror of
https://github.com/darksaid98/mediaplex.git
synced 2026-12-04 14:38:56 +00:00
fix
This commit is contained in:
1 parent
6af1855646
commit
8688adbe33
2 files changed
+2
No files matched your search
@@ -17,6 +17,7 @@ symphonia = { version = "0.5.3", features = ["all"] }
|
|||||||
napi-build = "2.0.1"
|
napi-build = "2.0.1"
|
||||||
cmake = "0.1"
|
cmake = "0.1"
|
||||||
bindgen = "0.59.1"
|
bindgen = "0.59.1"
|
||||||
|
pkg-config = "0.3.17"
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
lto = true
|
lto = true
|
||||||
@@ -62,6 +62,7 @@ fn link_opus(is_static: bool, opus_build_dir: impl Display) {
|
|||||||
|
|
||||||
#[cfg(any(unix, target_env = "gnu"))]
|
#[cfg(any(unix, target_env = "gnu"))]
|
||||||
fn find_via_pkg_config(is_static: bool) -> bool {
|
fn find_via_pkg_config(is_static: bool) -> bool {
|
||||||
|
use pkg_config;
|
||||||
pkg_config::Config::new()
|
pkg_config::Config::new()
|
||||||
.statik(is_static)
|
.statik(is_static)
|
||||||
.probe("opus")
|
.probe("opus")
|
||||||
|
|||||||
Reference in new issue
Block a user