[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch] 1.5.14: Enable ar for GCJ
From: |
Maciej W. Rozycki |
Subject: |
[patch] 1.5.14: Enable ar for GCJ |
Date: |
Mon, 4 Apr 2005 17:59:27 +0100 (BST) |
Hello,
The GCJ tag has old_archive_cmds omitted and as a result libtool cannot
create archive libraries for this configuration. A fix follows.
2004-04-04 Maciej W. Rozycki <address@hidden>
* libtool.m4 (_LT_AC_LANG_GCJ_CONFIG): Add old_archive_cmds
definition.
Please apply.
Maciej
libtool-1.5.12-gcj-ar.patch
diff -up --recursive --new-file libtool-1.5.12.macro/libtool.m4
libtool-1.5.12/libtool.m4
--- libtool-1.5.12.macro/libtool.m4 2005-02-05 14:04:18.000000000 +0000
+++ libtool-1.5.12/libtool.m4 2005-02-08 01:33:12.000000000 +0000
@@ -3812,6 +3812,8 @@ _LT_AC_TAGVAR(compiler, $1)=$CC
# 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
## the running order or otherwise move them around unless you know exactly
- [patch] 1.5.14: Enable ar for GCJ,
Maciej W. Rozycki <=