add LDFLAGS

This commit is contained in:
ca110us 2022-03-24 11:38:25 +08:00
parent 4ecab4cd20
commit 7c10d28065
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ package goclamav
/*
#cgo CFLAGS: -g -Wall
#cgo LDFLAGS: -lclamav
#cgo LDFLAGS: -L/usr/local/lib/ -lclamav
#include <clamav.h>
#include <stdlib.h>

View File

@ -2,7 +2,7 @@ package goclamav
/*
#cgo CFLAGS: -g -Wall
#cgo LDFLAGS: -lclamav
#cgo LDFLAGS: -L/usr/local/lib/ -lclamav
#include <clamav.h>
#include <stdlib.h>