cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: make mingw32 fails

From: Thomas Braun <thomas.braun_at_virtuell-zuhause.de>
Date: Sat, 08 Feb 2014 17:32:12 +0100

> On Sat, 1 Feb 2014, Thomas Braun wrote:
>> Unfortunately the compilation fails because the object files from the vtls
>> folder are expected in lib/vtls but in fact they are in lib.
>>
>> Attached is a patch which hopefully explains the problem.
>
> Thanks!
>
> But why are the object files not in vtls? The path to the source file works so
> it should just generate the object files there too! Isn't it the compiler line
> that should rather be improved? It feels like it could be made better than a
> copy.
>
> Like making "$(CC) $(INCLUDES) $(CFLAGS) -c $<" use -o $@ or something?

Yeep, that is definitly the nicer approach and it works too.
I've attached a patch which does exactly what you proposed.

Thomas

Received on 2014-02-08