[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Win32] Can't build a dynamic libidn-1.12 library with MinGW in MSYS
From: |
Simon Josefsson |
Subject: |
Re: [Win32] Can't build a dynamic libidn-1.12 library with MinGW in MSYS shell. |
Date: |
Tue, 10 Feb 2009 13:12:20 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.90 (gnu/linux) |
"Sisyphus" <address@hidden> writes:
>> Anyway, as a work around, you could do 'touch src/idn_cmd.?' to make
>> sure the timestamp for the generated files are later than the source.
>
> Aaah ... now I think I see what the problem is. Both src/idn_cmd.h and
> src/idn_cmd.c ship with the source.
> I first built a static lib, then ran 'make distclean', then tried to
> build the dynamic lib. Unfortunately, 'make distclean' removed both
> src/idn_cmd.h and src/idn_cmd.c. Re-instating those 2 files fixes the
> problem.
>
> I gather 'make distclean' is doing something it shouldn't ? ... or is
> make distclean' simply the wrong command to be running between builds
> in this case ?
Thanks for debugging it -- indeed, idn_cmd.* should not be removed by
distclean. I have changed so that it is only removed by
maintainer-clean. See patch in:
http://git.savannah.gnu.org/gitweb/?p=libidn.git;a=commitdiff;h=b84bf00cc5c903cf1ca0be2a93db8e84e7b4d581
Thanks,
Simon