I installed mingw from their website. I installed the developer package which comes with iconv and intl, msys and all the other stuff.
I run ./configure
and then make install
. While linking, it prints:
../../src/liblzma/liblzma.la -lintl
libtool: link: cannot find the library `/home/keith/staged/mingw32/lib/libiconv.
la' or unhandled argument `/home/keith/staged/mingw32/lib/libiconv.la'
make[2]: *** [xzdec.exe] Error 1
I have no clue who keith is or why it looks there for the library.. I tried settings CCFLAGS CXXFLAGS and LDFLAGS to my include and library folder /usr/local/lib
No cigar.. any ideas why this is happening and how I can fix it?