[Mageia-dev] need some help to build a linuxsampler.rpm

Olivier Blin mageia at blino.org
Sat Sep 22 23:52:04 CEST 2012


PhilippeDidier <philippedidier at laposte.net> 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


More information about the Mageia-dev mailing list