bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch] bugfix for -pthread linking


From: Christoph Egger
Subject: [patch] bugfix for -pthread linking
Date: Mon, 21 Feb 2005 00:29:53 +0100 (MET)

Hello!

The changes related to:

  * config/ltmain.m4sh: Add -pthread like flags when linking
    executables too.
    Reported by Andreas Schwab <address@hidden>

are incomplete.

I have attached a patch that fixes the remaining issues:

a) Linking an executable or library against a library
   that needs -pthread fails.

b) During creating a library that needs -pthread, the -pthread
   flag does not go into the 'inherited_linker_flags' variable
   in the .la file. This leads to an linking failure as in a)


The patch fixes the issues.

ltmain_stable.m4sh.diff  - patch against latest branch-2-0
ltmain_head.m4sh.diff    - patch against cvs head


Greetings

Christoph

-- 
Lassen Sie Ihren Gedanken freien Lauf... z.B. per FreeSMS
GMX bietet bis zu 100 FreeSMS/Monat: http://www.gmx.net/de/go/mail

Attachment: ltmain_stable.m4sh.diff
Description: Binary data

Attachment: ltmain_head.m4sh.diff
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]