We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a00a24e commit d715a9bCopy full SHA for d715a9b
build/cmake_probe.rs
@@ -143,7 +143,7 @@ impl<'r> CmakeProbe<'r> {
143
if !include_paths.contains(&path) {
144
include_paths.push(path);
145
}
146
- } else if let Some(path) = arg.strip_prefix("-L").or_else(|| arg.strip_prefix("-Wl,-rpath,")) {
+ } else if let Some(path) = arg.strip_prefix("-L") {
147
let path = LinkSearch(Linkage::Default, PathBuf::from(path.trim_start()));
148
if !link_paths.contains(&path) {
149
link_paths.push(path);
0 commit comments