[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DLLs on mingw
From: |
Steve Edwards |
Subject: |
Re: DLLs on mingw |
Date: |
Thu, 4 Dec 2008 13:02:23 +0000 |
> > 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
Many thanks for that - I've updated the build system accordingly!
Everything working fine now.
(I hadn't even realised that AC_PROG_LIBTOOL was deprecated now!)
Steve
--
----------------------------------------------------------
Yow! of the hour:
Progress is made on alternative Fridays.
----------------------------------------------------------