Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 15746 invoked from network); 22 Feb 2006 20:08:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Feb 2006 20:08:06 -0000 Received: (qmail 26958 invoked by uid 500); 22 Feb 2006 20:08:00 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 26858 invoked by uid 500); 22 Feb 2006 20:08:00 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 26821 invoked by uid 99); 22 Feb 2006 20:08:00 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2006 12:07:59 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id B100ADF for ; Wed, 22 Feb 2006 21:07:38 +0100 (CET) Message-ID: <508421746.1140638858723.JavaMail.jira@ajax.apache.org> Date: Wed, 22 Feb 2006 21:07:38 +0100 (CET) From: "Mark Hindess (JIRA)" To: harmony-dev@incubator.apache.org Subject: [jira] Created: (HARMONY-120) -lhycommon is listed twice in linux luni link command MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N -lhycommon is listed twice in linux luni link command ----------------------------------------------------- Key: HARMONY-120 URL: http://issues.apache.org/jira/browse/HARMONY-120 Project: Harmony Type: Improvement Components: Classlib Reporter: Mark Hindess Priority: Trivial If we were happy assuming GNU make we could avoid inconsistency errors like this by deriving the -l options from the library dependency list with something like: MDLLIBFILES = \ ../lib/libhycommon.a ../libhysig.so ../lib/libhyzip.a ../libhyzlib.so \ ../lib/libhypool.a ../lib/libhyfdlibm.a ../libhythr.so ../libvmi.so LIBS = $(subst ../lib,-l,$(subst ../lib/lib,-l,$(basename $(MDLLIBFILES)))) Patch to remove the duplication is trivial so I wont bother to attach it - just delete the second -lhycommon line. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira