Skip to content

Commit 35e55cd

Browse files
authoredNov 29, 2023
darwin: Remove duplicate -lproc linker flag (#192) (#195)
Remove duplicate `-lproc` linker flag to avoid a warning on macOS Sonoma. Fixes #192
1 parent 8e921c7 commit 35e55cd

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
 

‎.changelog/195.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
darwin: Remove duplicate `-lproc` linker flag to avoid a warning on macOS Sonoma.
3+
```

‎providers/darwin/process_cgo_darwin.go

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
package darwin
2121

22-
// #cgo LDFLAGS:-lproc
2322
// #include <sys/sysctl.h>
2423
// #include <libproc.h>
2524
import "C"

0 commit comments

Comments
 (0)
Failed to load comments.