emacs-devel
[Top][All Lists]
Advanced

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

Re: Problems with EDE


From: Sascha Wilde
Subject: Re: Problems with EDE
Date: Fri, 09 Oct 2009 21:14:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Sascha Wilde <address@hidden> 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:

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!

reply via email to

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