On Sunday 2008-11-30 02:24, Jan Engelhardt wrote: >On Sunday 2008-11-30 01:52, NightStrike wrote: > >>Is the following kosher? > >It will produce two 32-bit libraries on all architectures where >gcc defaults to a 32-bit output.
(In other words, you are missing -m64. And perhaps some logic so that lib64 is not built in pure 32-bit environments.) >>shell32src=libsrc/shell32.c >> >>lib32_LIBRARIES += lib32/libshell32.a >>lib32_libshell32_a_SOURCES = $shell32src >>lib32_libshell32_a_CPPFLAGS = -m32 >> >>lib64_LIBRARIES += lib64/libshell32.a >>lib64_libshell32_a_SOURCES = $shell32src