[Top][All Lists]

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

Re: MSW DLLs support in libtool

From: Nick Bowler
Subject: Re: MSW DLLs support in libtool
Date: Wed, 10 Feb 2016 10:29:40 -0500

On 2/10/16, Bob Friesenhahn <address@hidden> wrote:
> On Wed, 10 Feb 2016, Peter Rosin wrote:
>> I agree wholeheartedly with the notion that --disable-static should end
>> up in a failure and not somehow degrade to a static build anyway. I
> Is this not the case?  I have seen builds on Windows fail due to using
> --disable-static.

I just tested it on a library which does not specify -no-undefined, and
therefore won't be built as a shared lib on Windows:

  libtool: warning: undefined symbols not allowed in i486-pc-mingw32
shared libraries; building static only

  ./configure --disable-static
  libtool:   error: can't build i486-pc-mingw32 shared library unless
-no-undefined is specified

So things fail as expected, although the error message seems a bit poor.


reply via email to

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