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 251b168 commit fa49f2aCopy full SHA for fa49f2a
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