bug-libtool
[Top][All Lists]
Advanced

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

[patch] libtool 1.4.3: automake 1.7.1 support


From: Maciej W. Rozycki
Subject: [patch] libtool 1.4.3: automake 1.7.1 support
Date: Tue, 29 Oct 2002 13:02:24 +0100 (MET)

Hello,

 Automake 1.7.1 complains in demo:

object `hello.lo' created both with libtool and without
object `foo.lo' created both with libtool and without

and fails.  Here is a proposal for a fix that works for me.  Defining
libhell0_a_CFLAGS makes hello.c and foo.c be compiled for libhell0.a
separately (as libhell0_a-hello.o and libhell0_a-foo.o, respectively). 

2002-10-29  Maciej W. Rozycki  <address@hidden>

        * demo/Makefile.am (libhell0_a_CFLAGS): Define for a separate
        non-libtool build of hello.c and foo.c.

  Maciej

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: address@hidden, PGP key available        +

libtool-1.4.3-am17.patch
diff -up --recursive --new-file libtool-1.4.3.macro/demo/Makefile.am 
libtool-1.4.3/demo/Makefile.am
--- libtool-1.4.3.macro/demo/Makefile.am        2001-09-03 22:06:19.000000000 
+0000
+++ libtool-1.4.3/demo/Makefile.am      2002-10-28 18:34:27.000000000 +0000
@@ -120,6 +120,7 @@ hc-minusL: $(hell_OBJECTS) $(hell_DEPEND
 # If this one passes with pass_all, it is likely that pass_all works
 EXTRA_LIBRARIES = libhell0.a
 libhell0_a_SOURCES = hello.c foo.c
+libhell0_a_CFLAGS = $(AM_CFLAGS)
 EXTRA_LTLIBRARIES = libhell1.la libhell2.la
 libhell1_la_SOURCES = hell1.c
 libhell1_la_LIBADD = -L. -lhell0





reply via email to

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