From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sascha Wilde Newsgroups: gmane.emacs.devel Subject: Re: Problems with EDE Date: Fri, 09 Oct 2009 21:14:24 +0200 Message-ID: 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: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1255115685 28757 80.91.229.12 (9 Oct 2009 19:14:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 Oct 2009 19:14:45 +0000 (UTC) Cc: eric@siege-engine.com, Andreas Schwab , emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 09 21:14:36 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 1MwKvD-0000Mj-1A for ged-emacs-devel@m.gmane.org; Fri, 09 Oct 2009 21:14:35 +0200 Original-Received: from localhost ([127.0.0.1]:48371 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwKvB-0004ZX-Qe for ged-emacs-devel@m.gmane.org; Fri, 09 Oct 2009 15:14:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MwKv6-0004YB-2C for emacs-devel@gnu.org; Fri, 09 Oct 2009 15:14:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MwKv4-0004VQ-HK for emacs-devel@gnu.org; Fri, 09 Oct 2009 15:14:26 -0400 Original-Received: from [199.232.76.173] (port=46311 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwKv4-0004VM-FA for emacs-devel@gnu.org; Fri, 09 Oct 2009 15:14:26 -0400 Original-Received: from mail2.sha-bang.de ([78.47.120.114]:32790 helo=mail.sha-bang.de) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MwKv4-0006Tt-2m for emacs-devel@gnu.org; Fri, 09 Oct 2009 15:14:26 -0400 Original-Received: from kenny.sha-bang.local (xdslcy239.osnanet.de [89.166.152.239]) by mail.sha-bang.de (Postfix) with ESMTPSA id 3FB7E54E; Fri, 9 Oct 2009 21:14:25 +0200 (CEST) Original-Received: from wilde by kenny.sha-bang.local with local (Sha Bang MUA v.0711184.68) ID 1MwKv2-0001XC-SA; Fri, 09 Oct 2009 21:14:24 +0200 In-Reply-To: (Sascha Wilde's message of "Fri, 09 Oct 2009 20:54:12 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:116024 Archived-At: --=-=-= Sascha Wilde wrote: > It still tries to compile the wrong target (libfoo.so instead of > libfoo.la) but that wasn't subject of your patch. This path fixes the target issue for me: --=-=-= Content-Type: text/x-patch Content-Disposition: inline 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"))) (defmethod ede-proj-makefile-sourcevar ((this ede-proj-target-makefile-shared-object)) "Return the variable name for THIS's sources." --=-=-= cheers sascha -- Sascha Wilde Hi! I'm a .signature *virus*! Copy me into your ~/.signature to help me spread! --=-=-=--