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