Files
archived-verso/build.rs
Ngo Iok Ui (Wu Yu Wei) 2da3ed2c1b fix: macOS nightly-release (#105)
* Add script to package libs

* Install gstreamer on macOS CI

* Add cargo packager to macOS

* Install cargo-packager on macos

* Update version env variable

* Move step order

* Update artifact path

* Add develop installer

* Use fallback path instead

* Move env variable to build steps instead

* Manually export instead

* Move dylib to framework instead

* Try ad-hoc codesign

* Try frameworks

* Test custom package script

* Update dmg version

* Add rpath in build script

* Add entitlements

* Cleanup

* Revert CI condition for packaging
2024-08-05 03:30:17 +00:00

15 lines
503 B
Rust

fn main() {
cfg_aliases::cfg_aliases! {
// Platforms
android: { target_os = "android" },
macos: { target_os = "macos" },
ios: { target_os = "ios" },
// windows: { target_os = "windows" },
apple: { any(target_os = "ios", target_os = "macos") },
linux: { all(unix, not(apple), not(android)) },
}
#[cfg(all(feature = "packager", target_os = "macos"))]
println!("cargo:rustc-link-arg=-Wl,-rpath,@executable_path/../Resources/lib");
}