PhilippeDidier <[email protected]> writes:

> indeed the configured Makefile contains
> LDFLAGS  option --as-needed htat worked for Mandriva !!!
>
> I need now to write a patch for the makefiles...
> to fix it in a better way than overriding LDFLAGS
>
> May we now suppress the --as-needed option for LDFLAGS in every makefile ?

No, you should not remove this option, this is the intended behavior.
It just exposed a missing -l flag in the software you are packaging.

The proper fix, as Thomas said, is to patch the Makefile to add the
-lpthread flag where appropriate.

-- 
Olivier Blin - blino

Reply via email to