From 7c10d28065438f5c745494ea3a19d21bc23b8485 Mon Sep 17 00:00:00 2001 From: ca110us Date: Thu, 24 Mar 2022 11:38:25 +0800 Subject: [PATCH] add LDFLAGS --- clamav.go | 2 +- define.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clamav.go b/clamav.go index 5b660ca..48125b7 100644 --- a/clamav.go +++ b/clamav.go @@ -6,7 +6,7 @@ package goclamav /* #cgo CFLAGS: -g -Wall -#cgo LDFLAGS: -lclamav +#cgo LDFLAGS: -L/usr/local/lib/ -lclamav #include #include diff --git a/define.go b/define.go index 69ad102..9ccf071 100644 --- a/define.go +++ b/define.go @@ -2,7 +2,7 @@ package goclamav /* #cgo CFLAGS: -g -Wall -#cgo LDFLAGS: -lclamav +#cgo LDFLAGS: -L/usr/local/lib/ -lclamav #include #include