Skip to content

Commit

Permalink
darwin: Remove duplicate -lproc linker flag (#192) (#195)
Browse files Browse the repository at this point in the history
Remove duplicate `-lproc` linker flag to avoid a warning on macOS Sonoma.

Fixes #192
  • Loading branch information
xmichelo authored Nov 29, 2023
1 parent 8e921c7 commit 35e55cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/195.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 35e55cd

Please sign in to comment.