Fix for Bug #39538

John Firebaugh jfirebaugh at kde.org
Fri Mar 22 02:24:02 UTC 2002


On Thursday 21 March 2002 11:08, Harald Fernengel wrote:
> Hi,
>
> this is pretty straight-forward, if we encounter  " -lm" in the additional
> libraries edit we replace it with "" and check the "libmath" checkbox.
> Problem: " -lmylib" gets "ylib" which is pretty stupid (Bug #39538).
>
> If no one complains I'll commit in a few hours so it gets into the
> release...
>
> Best regards,
> Harry

This patch is wrong. It will replace a line like "-lfoo -lm -lbar" with 
"-lfoo-lbar". The second argument to replace should be " ", not "".

later,
John




More information about the KDevelop-devel mailing list