cURL / Mailing Lists / curl-library / Single Mail

curl-library

problem with cross-compile install

From: Guenter <lists_at_gknw.net>
Date: Sun, 22 Apr 2012 14:35:10 +0200

Hi,
I just found an issue with 'make install' when cross-compiling:
the libs are stored in $prefix/lib64 if the build system is 64-bit while
they are stored in $prefix/lib on a 32-bit build system.
It seems that the decision if the subfolder is named 'lib' or 'lib64' is
made based on the build system and not on the host system as it should
be. I've no idea if that can be fixed at all for cross-compilation since
I doubt that configure (or where is it decided?) knows if the host
compiler produces 64 or 32 bit libraries ...
but its probably a good idea to always use 'lib' when cross-compiling ...
anyone have some ideas?

This happens with both c-ares and curl, and IIRC with libssh2 too ...

Gün.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-04-22