automake
[Top][All Lists]
Advanced

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

Re: problem: multiple definitions


From: Akim Demaille
Subject: Re: problem: multiple definitions
Date: 12 Apr 2001 17:54:34 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)

| I had the same problem, when I used the LDFLAGS in  Makefile.am
| Running automake I get the same mystrious message. 
| 
| src/foo/Makefile.am:6: LDFLAGS multiply defined in condition TRUE
|   LDFLAGS (User, where = 6) =
|   {
|  
|     TRUE => -export-dynamic 
|   }                                  

This was a bug.

| I found a solution by adding the library or program name to the LDFLAGS the 
message vanished.
| 
| lib_LTLIBRARIES = libfoo.la
| LDFLAGS = -export-dynamic
| 
| has to change to
| 
| lib_LTLIBRARIES = libfoo.la
| libfoo_la_LDFLAGS = -export-dynamic

This was a workaround, i.e., there was no intention to have you do
this.  The normal behavior is now reestablished, sorry for the
inconvenience.

        Akim



reply via email to

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