bug-libtool
[Top][All Lists]
Advanced

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

[patch] 1.5.6: libhell0.a automake 1.7 compatibility


From: Maciej W. Rozycki
Subject: [patch] 1.5.6: libhell0.a automake 1.7 compatibility
Date: Fri, 30 Jul 2004 17:00:44 +0200 (CEST)

Hello,

 Since at least automake 1.7, running `automake' in demo/ to regenerate 
Makefile.in fails with the following errors:

Makefile.am: object `hello.$(OBJEXT)' created both with libtool and without
Makefile.am: object `foo.$(OBJEXT)' created both with libtool and without

Here is a fix based on the recipe given in automake documentation (see 
`info "(automake)Libtool Issues"' for a reference.

2004-06-30  Maciej W. Rozycki  <address@hidden>

        * demo/Makefile.am (libhell0_a_CFLAGS): Define.

 This was created for libtool 1.4.3, but it's still needed.  Please apply.

  Maciej

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]