| 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