添加对Linux平台的支持

This commit is contained in:
yuxh 2021-11-03 00:08:12 +08:00
parent 8960e66bd3
commit 55c60d656f

View File

@ -4,6 +4,8 @@ package iconv
#cgo darwin LDFLAGS: -liconv #cgo darwin LDFLAGS: -liconv
#cgo freebsd LDFLAGS: -liconv #cgo freebsd LDFLAGS: -liconv
#cgo windows LDFLAGS: -liconv #cgo windows LDFLAGS: -liconv
#cgo linux LDFLAGS: -liconv
#cgo LDFLAGS: -liconv
#include <stdlib.h> #include <stdlib.h>
#include <iconv.h> #include <iconv.h>