]> git.lizzy.rs Git - rust.git/blobdiff - library/unwind/build.rs
Rollup merge of #93949 - glaubitz:m68k-unwind, r=Mark-Simulacrum
[rust.git] / library / unwind / build.rs
index 1d0b4a59a287b05969080147a5aab691d0e36603..a3f5224151d941ec9e3c497403788319fff6be1a 100644 (file)
@@ -17,6 +17,9 @@ fn main() {
         } else {
             println!("cargo:rustc-link-lib=gcc");
         }
+
+        // Android's unwinding library depends on dl_iterate_phdr in `libdl`.
+        println!("cargo:rustc-link-lib=dl");
     } else if target.contains("freebsd") {
         println!("cargo:rustc-link-lib=gcc_s");
     } else if target.contains("netbsd") {