]> git.eshelyaron.com Git - emacs.git/commitdiff
Use ldflags and libs for in project libraries
authorzappo <zappo@users.sourceforge.net>
Sun, 16 May 2010 13:12:26 +0000 (13:12 +0000)
committerEdward John Steere <edward.steere@gmail.com>
Wed, 25 Jan 2017 17:41:52 +0000 (19:41 +0200)
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

index 168ffd6b97153d941dfc35ac76793c2c14f64e12..258566066fd6580dcb36e96be7fa820b56a7dc10 100644 (file)
@@ -3,7 +3,7 @@
 ;; Copyright (C) 2008, 2009, 2010 Eric M. Ludlam
 
 ;; Author: Eric M. Ludlam <eric@siege-engine.com>
-;; 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!
       ))