<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] need some help to build a linuxsampler.rpm
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20need%20some%20help%20to%20build%20a%20linuxsampler.rpm&In-Reply-To=%3Cm3ipb5bu9n.fsf%40euphor.blino.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="018854.html">
   <LINK REL="Next"  HREF="018860.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] need some help to build a linuxsampler.rpm</H1>
    <B>Olivier Blin</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20need%20some%20help%20to%20build%20a%20linuxsampler.rpm&In-Reply-To=%3Cm3ipb5bu9n.fsf%40euphor.blino.org%3E"
       TITLE="[Mageia-dev] need some help to build a linuxsampler.rpm">mageia at blino.org
       </A><BR>
    <I>Sat Sep 22 23:52:04 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="018854.html">[Mageia-dev] need some help to build a linuxsampler.rpm
</A></li>
        <LI>Next message: <A HREF="018860.html">[Mageia-dev] need some help to build a linuxsampler.rpm
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#18858">[ date ]</a>
              <a href="thread.html#18858">[ thread ]</a>
              <a href="subject.html#18858">[ subject ]</a>
              <a href="author.html#18858">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>PhilippeDidier &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">philippedidier at laposte.net</A>&gt; writes:

&gt;<i> indeed the configured Makefile contains
</I>&gt;<i> LDFLAGS  option --as-needed htat worked for Mandriva !!!
</I>&gt;<i>
</I>&gt;<i> I need now to write a patch for the makefiles...
</I>&gt;<i> to fix it in a better way than overriding LDFLAGS
</I>&gt;<i>
</I>&gt;<i> May we now suppress the --as-needed option for LDFLAGS in every makefile ?
</I>
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
</PRE>























<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="018854.html">[Mageia-dev] need some help to build a linuxsampler.rpm
</A></li>
	<LI>Next message: <A HREF="018860.html">[Mageia-dev] need some help to build a linuxsampler.rpm
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#18858">[ date ]</a>
              <a href="thread.html#18858">[ thread ]</a>
              <a href="subject.html#18858">[ subject ]</a>
              <a href="author.html#18858">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>