libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DLLs on mingw


From: Vincent Torri
Subject: Re: DLLs on mingw
Date: Thu, 4 Dec 2008 13:44:59 +0100 (CET)


Hey,

I fixed the problem by adding an explicit "-no-undefined" to the
libtool link command - is this considered to be the correct fix or am I
missing something obvious?

This is correct.

If you use AM_PROG_LIBTOOL or AC_PROG_LIBTOOL in your configure.ac script, add AC_LIBTOOL_WIN32_DLL just before. This way is deprecated

If you use LT_INIT, pass win32-dll to it

In both case, you have to pass -no-undefined to libtool (during linking).

See http://www.gnu.org/software/libtool/manual/libtool.html#LT_005fINIT

regards

Vincent Torri




reply via email to

[Prev in Thread] Current Thread [Next in Thread]