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."