From 82a840d9db6d5d9d0c3635b08b0f30422418f0b6 Mon Sep 17 00:00:00 2001 From: zappo Date: Sun, 16 May 2010 13:12:26 +0000 Subject: [PATCH] Use ldflags and libs for in project libraries for automake * test/manual/cedet/cit-cpp.el: (cit-remove-and-do-shared-lib): For automake, use ldflags, and ldlibs for in project libraries. --- test/manual/cedet/cit-cpp.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/manual/cedet/cit-cpp.el b/test/manual/cedet/cit-cpp.el index 168ffd6b971..258566066fd 100644 --- a/test/manual/cedet/cit-cpp.el +++ b/test/manual/cedet/cit-cpp.el @@ -3,7 +3,7 @@ ;; Copyright (C) 2008, 2009, 2010 Eric M. Ludlam ;; Author: Eric M. Ludlam -;; X-RCS: $Id: cit-cpp.el,v 1.10 2010-04-18 00:37:06 zappo Exp $ +;; X-RCS: $Id: cit-cpp.el,v 1.11 2010-05-16 13:12:26 zappo Exp $ ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License as @@ -205,7 +205,9 @@ Argument MAKE-TYPE is the type of make project to create." (find-file (cit-file "src/main.cpp")) (let ((mt ede-object)) (if (string= make-type "Automake") - (oset mt :ldlibs '("../lib/libtestlib.la")) + (progn + (oset mt :ldflags '("-L../lib")) + (oset mt :ldlibs '("testlib"))) ;; FIX THIS (oset mt :ldflags '("../lib/bar.o"));;HACK for libtool! )) -- 2.39.5