[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AM_LDFLAGS vs. maude_la_LDFLAGS
From: |
Akim Demaille |
Subject: |
AM_LDFLAGS vs. maude_la_LDFLAGS |
Date: |
Wed, 22 Dec 2004 16:20:15 +0100 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) |
It is my understanding (after having re-read the doc ;) that these
flags are exclusive: either one of the two is used. So I have in a
Makefile.am of mine:
| AM_LDFLAGS = -avoid-version -module -shared
| ...
| # Override AM_LDFLAGS: this guy must not be a module.
| libtcswigpy_la_LDFLAGS =
and Makefile.in does contain:
libtcswigpy.la: $(libtcswigpy_la_OBJECTS) $(libtcswigpy_la_DEPENDENCIES)
$(CXXLINK) -rpath $(pyexecdir) $(libtcswigpy_la_LDFLAGS)
$(libtcswigpy_la_OBJECTS) $(libtcswigpy_la_LIBADD) $(LIBS)
but CXXLINKS is:
CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
--mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
$(LDFLAGS) -o $@
so I'm stuck with AM_LDFLAGS although I meant to escape from it. Of
course I'll get rid of AM_LDFLAGS, but I'm not sure I was an outlaw
according to the documentation.
And shouldn't the LDFLAGS be last? It is in CXXLINKS, but in the
command line.
- AM_LDFLAGS vs. maude_la_LDFLAGS,
Akim Demaille <=