help-libidn
[Top][All Lists]
Advanced

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

Re: libidn-1.23 bug in lib/Makefile cross-building for Windows


From: René Berber
Subject: Re: libidn-1.23 bug in lib/Makefile cross-building for Windows
Date: Mon, 19 Dec 2011 18:43:34 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0

On 12/19/2011 7:25 AM, Simon Josefsson wrote:

> Is support for -Wl,--output-def detected properly on your platform?
> There should be a message like 'checking if gcc/ld supports
> -Wl,--output-def' when you run ./configure.

Yes, the configure message is there with result "yes".

That line is the only occurrence in the complete build log of that
option.  It wasn't used, and I was wrong before, it should be used if
the library is made.

Looking at the Makefile targets:

libidn_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
        $(libidn_la_LDFLAGS) $(LDFLAGS) -o $@

libidn_la_LDFLAGS = -version-info \
        $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -no-undefined \
        $(am__append_3) $(am__append_4) $(am__append_5)

At this point the .def file is made, but another make rule which has
defexec-DATA as dependency fired before this one: all-am (has DATA as
dependency, and DATA is defined as defexec_DATA which is the .def file).
-- 
René Berber




reply via email to

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