Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit bb63134

Browse files
committed
fixup
1 parent 76daeeb commit bb63134

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/libm-cdylib/src/test_utils.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,11 @@ pub(crate) fn compile_file(src_path: &Path, bin_path: &Path) {
4848

4949
// Link our libm
5050
let lib_path = cdylib_dir();
51-
cmd.arg(format!("-L{}", lib_path.display()));
51+
cmd.arg(format!("-L/{}", lib_path.display()));
5252
cmd.arg("-llibm");
5353

54+
eprintln!("compile cmd: {:?}", cmd)
55+
5456
handle_err(
5557
&format!("compile file: {}", src_path.display()),
5658
&cmd.output().unwrap(),

0 commit comments

Comments
 (0)