bug-automake
[Top][All Lists]
Advanced

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

Usability: Makefile.am: object `boo.$(OBJEXT)' created both with libtool


From: Sean Farrell
Subject: Usability: Makefile.am: object `boo.$(OBJEXT)' created both with libtool and without
Date: Thu, 14 Dec 2006 09:52:30 +0100

Hello, 

I wanted to report a usability bug in automake 1.9.6. When compiling
unit test alongside a libtool library, automake refuses to build an
object. The error message is "Makefile.am: object `boo.$(OBJEXT)'
created both with libtool and without". I understand why this is a
problem, but since different compiler flags are handled, why can't this
be automatically handled, with the same trick? 

Well the workaround is to force automake to build two different targets
by providing different neutral compiler flags with target_CXXFLAGS or
so. 

I have attached a compile setup that illustrates the problem and the
workaround. Simply comment line 9 of Makefile.am out and run the
bootstrap.sh script (or only automake).

Regards,

Sean Farrell

Attachment: automake_bug-0.0.tar.gz
Description: application/compressed-tar


reply via email to

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