]> git.proxmox.com Git - cargo.git/blobdiff - vendor/pkg-config/tests/test.rs
New upstream version 0.63.1
[cargo.git] / vendor / pkg-config / tests / test.rs
index a70301d5371c41d4bc82280c09664f684f3e2a2b..ca2f7e99bd7bbb8f9754aed22f8401ef3e199776 100644 (file)
@@ -308,3 +308,13 @@ fn range_version_full() {
         .probe("escape")
         .unwrap();
 }
+
+#[test]
+fn rpath() {
+    let _g = LOCK.lock();
+    reset();
+    let lib = find("rpath").unwrap();
+    assert!(lib
+        .ld_args
+        .contains(&vec!["-rpath".to_string(), "/usr/local/lib".to_string(),]));
+}