From 59f8ee4eb7e5ab54a5a7ded6283b155f3da4ec3d Mon Sep 17 00:00:00 2001 From: Kevin Glowacz Date: Fri, 24 Oct 2025 10:40:00 -0500 Subject: [PATCH] Add cgo directives for Darwin arm64 platform via homebrew --- ssdeep.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ssdeep.go b/ssdeep.go index 73e6953..40761ca 100644 --- a/ssdeep.go +++ b/ssdeep.go @@ -2,6 +2,7 @@ package ssdeep /* #cgo !windows LDFLAGS:-L/usr/local/lib/ -lfuzzy -ldl -I/usr/local/include/ +#cgo darwin && arm64 LDFLAGS:-L/opt/homebrew/opt/ssdeep/lib #include #include */