Dynamically link run-make support
This commit is contained in:
parent
9fa0146c4a
commit
9bb6e0789c
@ -329,6 +329,7 @@ fn run_rmake_v2_test(&self) {
|
|||||||
.arg(format!("run_make_support={}", &support_lib_path.to_string_lossy()))
|
.arg(format!("run_make_support={}", &support_lib_path.to_string_lossy()))
|
||||||
.arg("--edition=2021")
|
.arg("--edition=2021")
|
||||||
.arg(&self.testpaths.file.join("rmake.rs"))
|
.arg(&self.testpaths.file.join("rmake.rs"))
|
||||||
|
.arg("-Cprefer-dynamic")
|
||||||
// Provide necessary library search paths for rustc.
|
// Provide necessary library search paths for rustc.
|
||||||
.env(dylib_env_var(), &env::join_paths(host_dylib_search_paths).unwrap());
|
.env(dylib_env_var(), &env::join_paths(host_dylib_search_paths).unwrap());
|
||||||
|
|
||||||
|
@ -13,3 +13,6 @@ gimli = "0.31.0"
|
|||||||
build_helper = { path = "../build_helper" }
|
build_helper = { path = "../build_helper" }
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
|
|
||||||
|
[lib]
|
||||||
|
crate-type = ["lib", "dylib"]
|
||||||
|
Loading…
Reference in New Issue
Block a user