-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
patch configure to link -lpthread on windows
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From 471e22d6bab682a11b39eb0a68197e620f271e4c Mon Sep 17 00:00:00 2001 | ||
From: Brendan Furneaux <[email protected]> | ||
Date: Sat, 12 Oct 2024 11:18:49 +0200 | ||
Subject: [PATCH] add -lpthread on windows | ||
|
||
--- | ||
configure | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/configure b/configure | ||
index 4566d1b..07ed73d 100755 | ||
--- a/configure | ||
+++ b/configure | ||
@@ -97,7 +97,7 @@ if [ -n "$WINDOWS" ]; then | ||
OBJECTS="${OBJECTS} arch/windows/wmi.o" | ||
|
||
LIBRARIES="psapi kernel32 advapi32 shell32 netapi32 iphlpapi wtsapi32" | ||
- LIBRARIES="${LIBRARIES} ws2_32 PowrProf Pdh" | ||
+ LIBRARIES="${LIBRARIES} ws2_32 PowrProf Pdh pthreads" | ||
|
||
TARGETS=interrupt | ||
|
||
-- | ||
2.34.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters