Merge pull request #2 from haonan3344/patch-1

In windows cannot "go get ...",for  "undefined reference to libiconv"
This commit is contained in:
Donovan Jimenez 2012-06-23 01:14:23 -07:00
commit 434bc339c7

View File

@ -2,6 +2,9 @@ package iconv
/*
#cgo darwin LDFLAGS: -liconv
#cgo freebsd LDFLAGS: -liconv
#cgo linux LDFLAGS: -liconv
#cgo windows LDFLAGS: -liconv
#include <stdlib.h>
#include <iconv.h>
*/