Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12e4368b authored by Allen Webb's avatar Allen Webb Committed by Gerrit Code Review
Browse files

Merge "floss: use pkg-config for linking protobuf and flatbuffers" into main

parents 13fe7bce 8d5ddf95
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -13,8 +13,8 @@ fn main() {
    println!("cargo:rerun-if-changed={}", cxx_outdir.into_string().unwrap());

    // A few dynamic links
    println!("cargo:rustc-link-lib=dylib=flatbuffers");
    println!("cargo:rustc-link-lib=dylib=protobuf");
    Config::new().probe("flatbuffers").unwrap();
    Config::new().probe("protobuf").unwrap();
    println!("cargo:rustc-link-lib=dylib=resolv");

    // Clang requires -lc++ instead of -lstdc++