Skip to content

Commit b4d55a8

Browse files
committed
Add missing dbghelp link directive for windows
1 parent b7ed9ad commit b4d55a8

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
From 95de09ace678555e65e1d92a3c7f5b5c46053e13 Mon Sep 17 00:00:00 2001
2+
From: bjorn3 <[email protected]>
3+
Date: Wed, 11 Sep 2024 17:37:06 +0000
4+
Subject: [PATCH] Add missing dbghelp link directive
5+
6+
---
7+
library/windows_targets/src/lib.rs | 1 +
8+
1 file changed, 1 insertion(+)
9+
10+
diff --git a/library/windows_targets/src/lib.rs b/library/windows_targets/src/lib.rs
11+
index 1965b6c..fa45a1e 100644
12+
--- a/library/windows_targets/src/lib.rs
13+
+++ b/library/windows_targets/src/lib.rs
14+
@@ -35,6 +35,7 @@ pub macro link {
15+
16+
#[cfg(not(feature = "windows_raw_dylib"))]
17+
#[link(name = "advapi32")]
18+
+#[link(name = "dbghelp")]
19+
#[link(name = "ntdll")]
20+
#[link(name = "userenv")]
21+
#[link(name = "ws2_32")]
22+
--
23+
2.34.1
24+

0 commit comments

Comments
 (0)