[Nix-dev] Re: [PATCH] urweb compiler enable -static flag
Karn Kallio
tierpluspluslists at gmail.com
Mon Nov 15 17:49:32 CET 2010
> Hi Karn,
>
> just a minor nitpick: static libraries are disabled by default by the
> generic builder. If you need static libraries, the way to do it, IMHO,
>
> is to set:
> dontDisableStatic = yes;
>
> The advantage is that the --disable-static flag won't be passed to
> configure at all, whereas your patch ends up configuring the package
> with "--disable-static --enable-static", which feels awkward.
>
> Take care,
> Peter
Thank you very much Peter! The way you have shown is much better. Attached
is a new patch with your improvement.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: urweb-static-flag.patch
Type: text/x-patch
Size: 1166 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20101115/9a609df6/attachment.bin
More information about the nix-dev
mailing list