In windows cannot "go get ...",for "undefined reference to libiconv"

please  patch it so as to support more os
This commit is contained in:
haonan3344 2012-06-23 09:33:59 +08:00
parent 9f790a3b51
commit 9972d7fa01

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>
*/