Skip to content

Commit

Permalink
darwin: Remove duplicate -lproc linker flag to avoid a warning on m…
Browse files Browse the repository at this point in the history
…acOS Sonoma. (#192)
  • Loading branch information
xmichelo committed Nov 28, 2023
1 parent da3f855 commit 1d9c919
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/192.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
darwin: Remove duplicate `-lproc` linker flag to avoid a warning on macOS Sonoma.
```
1 change: 0 additions & 1 deletion providers/darwin/process_cgo_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

package darwin

// #cgo LDFLAGS:-lproc
// #include <sys/sysctl.h>
// #include <libproc.h>
import "C"
Expand Down

0 comments on commit 1d9c919

Please sign in to comment.