libtool-patches
[Top][All Lists]
Advanced

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

Patch to fix the creation of old style archives for gcj


From: Anselm Kruis
Subject: Patch to fix the creation of old style archives for gcj
Date: Thu, 27 Nov 2003 17:16:17 +0100 (CET)

Hi,

A description of the bug and how your patch fixes this bug.

Current versions of libtool do not create old-style/static archives for
the tag GCJ. My patch fixes this by setting the GCJ-tag
variable 'old_archive_cmds'.

ChangeLog:

        Tag GCJ: set the old_archive_cmds variable.

The patch itself.

Index: m4/libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/m4/libtool.m4,v
retrieving revision 1.20
diff -u -B -r1.20 libtool.m4
--- m4/libtool.m4       14 Nov 2003 11:12:21 -0000      1.20
+++ m4/libtool.m4       27 Nov 2003 15:59:36 -0000
@@ -3760,6 +3760,7 @@

 # GCJ did not exist at the time GCC didn't implicitly link libc in.
 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds

 ## CAVEAT EMPTOR:
 ## There is no encapsulation within the following macros, do not change


Best Regards
  Anselm Kruis


---
 Anselm Kruis                                   science + computing ag
 Senior Consultant Professional Services        Ingolstädter Str. 22
 email address@hidden             80807 München, Germany
 phone +49 89 356386 874                        www.science-computing.de
 fax   +49 89 356386 737




reply via email to

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