Bug 1414871 - when linking the rust JS bindings, include libmozglue; r=fitzgen
☠☠ backed out by 63da69449411 ☠ ☠
authorAlex Gaynor <agaynor@mozilla.com>
Fri, 10 Nov 2017 15:10:43 -0500
changeset 444611 cfce78c33f60e67a6c2068002e38721047eb3ba8
parent 444610 4e0bc9f7b713ffe30665cc4c8a5fb1e4daaea97f
child 444612 cfd90570ec7a01d0d1933a036ec1c16201a06dd1
push id1618
push userCallek@gmail.com
push dateThu, 11 Jan 2018 17:45:48 +0000
treeherdermozilla-release@882ca853e05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfitzgen
bugs1414871
milestone58.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1414871 - when linking the rust JS bindings, include libmozglue; r=fitzgen MozReview-Commit-ID: LOiJUWbsyiJ
js/src/build.rs
--- a/js/src/build.rs
+++ b/js/src/build.rs
@@ -45,16 +45,17 @@ fn main() {
     assert!(result.success(), "autospider should exit OK");
 
     println!("cargo:rustc-link-search=native={}/js/src/build", out_dir);
     println!("cargo:rustc-link-search=native={}/js/src", out_dir);
     println!("cargo:rustc-link-lib=static=js_static");
 
     println!("cargo:rustc-link-search=native={}/dist/bin", out_dir);
     println!("cargo:rustc-link-lib=nspr4");
+    println!("cargo:rustc-link-lib=mozglue");
 
     if target.contains("windows") {
         println!("cargo:rustc-link-lib=winmm");
         if target.contains("gnu") {
             println!("cargo:rustc-link-lib=stdc++");
         }
     } else {
         println!("cargo:rustc-link-lib=stdc++");