On Thu, 12 Nov 2009, Stepan Kasal wrote:
Is there an option that would tell libtool to "build both", even though it was configured with --disable-static? I invented a solution that should work: configure with --enable-static and then use -shared in CFLAGS or AM_CFLAGS for all but libraries but that one. I could recommend this solution to the user, but I feel that the solution outlined above would be more comfortable.
This is the solution which currently does work, as long as the OS, tools, and libraries are capable of it. Note that using --disable-static is not portable so attempting to force only a shared build decreases portability. One place I have observed failures with --disable-static is under Microsoft Windows since the necessary DLLs are not always available. You may encounter similar issues on Unix system if there is dependence on an installed library which does not have a shared version available.
Bob -- Bob Friesenhahn bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool