In windows cannot "go get ...",for "undefined reference to libiconv"
please patch it so as to support more os
This commit is contained in:
parent
9f790a3b51
commit
9972d7fa01
@ -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>
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user