From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Problems with EDE Date: Fri, 09 Oct 2009 16:33:03 -0400 Message-ID: <87tyy8qpds.fsf@stupidchicken.com> References: <87hbun9jbs.fsf@stupidchicken.com> <1254397096.16450.84.camel@projectile.siege-engine.com> <1254575261.6961.23.camel@projectile.siege-engine.com> <873a5wbed3.fsf@stupidchicken.com> <87tyy8bft0.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1255120406 11902 80.91.229.12 (9 Oct 2009 20:33:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 Oct 2009 20:33:26 +0000 (UTC) Cc: eric@siege-engine.com, Andreas Schwab , emacs-devel@gnu.org To: Sascha Wilde Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 09 22:33:16 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MwM9M-0006IQ-1X for ged-emacs-devel@m.gmane.org; Fri, 09 Oct 2009 22:33:16 +0200 Original-Received: from localhost ([127.0.0.1]:48653 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwM9L-0005zD-GA for ged-emacs-devel@m.gmane.org; Fri, 09 Oct 2009 16:33:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MwM9G-0005xX-6S for emacs-devel@gnu.org; Fri, 09 Oct 2009 16:33:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MwM9A-0005sB-T4 for emacs-devel@gnu.org; Fri, 09 Oct 2009 16:33:09 -0400 Original-Received: from [199.232.76.173] (port=52092 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwM9A-0005rs-NC for emacs-devel@gnu.org; Fri, 09 Oct 2009 16:33:04 -0400 Original-Received: from pantheon-po39.its.yale.edu ([130.132.50.100]:59111) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MwM9A-0001b0-Ap for emacs-devel@gnu.org; Fri, 09 Oct 2009 16:33:04 -0400 Original-Received: from furry (dhcp128036014244.central.yale.edu [128.36.14.244]) (authenticated bits=0) by pantheon-po39.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n99KX3xJ016204 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 9 Oct 2009 16:33:03 -0400 Original-Received: by furry (Postfix, from userid 1000) id 8BB17C070; Fri, 9 Oct 2009 16:33:03 -0400 (EDT) In-Reply-To: (Sascha Wilde's message of "Fri, 09 Oct 2009 21:14:24 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:116031 Archived-At: Sascha Wilde writes: > This path fixes the target issue for me: > > diff -r a31c0d5082f6 lisp/cedet/ede/proj-shared.el > --- a/lisp/cedet/ede/proj-shared.el Fri Oct 09 15:49:09 2009 +0200 > +++ b/lisp/cedet/ede/proj-shared.el Fri Oct 09 21:11:54 2009 +0200 > @@ -150,7 +150,10 @@ > "Return the name of the main target for THIS target." > ;; We need some platform gunk to make the .so change to .sl, or .a, > ;; depending on the platform we are going to compile against. > - (concat "lib" (ede-name this) ".so")) > + (concat "lib" (ede-name this) > + (if (eq (oref (ede-target-parent this) makefile-type) 'Makefile.am) > + ".la" > + ".so"))) Is this generally right, though? As the comment notes, there may be situations where .a is the correct extension, no?