Hi,

Just wanted to mention 2 problems I ran into while building wget 1.14 for the cross building environment MXE.

First, the configure script tests -lidn directly. It misses the dependency on -lintl when using static linking, which causes linking to fail. Maybe it would be nice to use pkg-config here. (pkg-config --libs libidn), even though the current libidn.pc file doesn't quite work out of the box for static linking. Not sure what the best solution is for wget.

Second, src/utils.c defines base64_encode(), but this symbol conflicts with the same from gnutls 3.1.2. Maybe it would be good either to detect whether a local base64_encode() is needed or rename the local version to something like wget_base64_encode(). (Or should this be considered gnutls' problem?)

Aside from these 2 problems, wget built perfectly.

regards

Mark



Reply via email to