From 1d9c91911e1e987c23d955dfcaf35e729c726a24 Mon Sep 17 00:00:00 2001 From: Xavier Michelon Date: Tue, 28 Nov 2023 09:19:27 +0100 Subject: [PATCH] darwin: Remove duplicate `-lproc` linker flag to avoid a warning on macOS Sonoma. (#192) --- .changelog/192.txt | 3 +++ providers/darwin/process_cgo_darwin.go | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .changelog/192.txt diff --git a/.changelog/192.txt b/.changelog/192.txt new file mode 100644 index 00000000..7719ac68 --- /dev/null +++ b/.changelog/192.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +darwin: Remove duplicate `-lproc` linker flag to avoid a warning on macOS Sonoma. +``` diff --git a/providers/darwin/process_cgo_darwin.go b/providers/darwin/process_cgo_darwin.go index 094f9508..6a72f9fb 100644 --- a/providers/darwin/process_cgo_darwin.go +++ b/providers/darwin/process_cgo_darwin.go @@ -19,7 +19,6 @@ package darwin -// #cgo LDFLAGS:-lproc // #include // #include import "C"