From: Hubert F. <hu...@fi...> - 2011-05-28 02:25:20
|
On 11-05-27 2:50 PM, Nico Stuurman wrote: > While trying to build Universal Binaries on Mac OS X I ran into the problem that use of the configure flag "--host" leads to the build of only static libraries. This does not depend on what the variable is set to (ppc, i386, or x86_64). The simplest example is as follows: > > ./configure --host=i386 --without-exif --without-libusb --without-libintl-prefix --without-libiconv-prefix Try using doing CFLAGS=-arch\ i386 ./configure --without-exif --without-libusb --without-libintl-prefix --without-libiconv-prefix This should force the arch to be i386. (this is only valid on MacOS) Hub |