How to link iconv under cygwin....

Hi all,
I got error “undefined reference to `libiconv_open’” when I compiled code under cygwin, but everything is OK under windows…
I download the iconv source and compiled with cygwin and copy the .h .a files to the “cocos2dx\platform\third_party\android”, but also cannot link….

Something wrong I had made? Or any way to solve it?
Any reply will be much appriciate!

Ewin

Did you build libicon as a android library?

How can include the libiconv.a into the Classes/android.mk? Now I my code can find the iconv.h, but got error "undefined reference to `libiconv_open’ when build.
Any suggestion will appreciate.