diff --git a/ChangeLog b/ChangeLog index 0e073a51a7..f9d8153506 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 1999-11-10 Jean-Marc Lasgouttes + * src/{mathed,insets}/Makefile.am (CXXLINK): add $(LDFLAGS) to the + link line, so that Irix users (for example) can set it explicitely to + "-n32". + + * src/Makefile.am (lyx_LDADD): use LYX_LIB as a variable, so that + it can be overidden at make time (static or dynamic link, for + example). + * src/vc-backend.C, src/LaTeXFeatures.h, src/support/LRegex.C, src/support/LRegex.h: add a few "using" statements to bring templates to global namespace. diff --git a/src/Makefile.am b/src/Makefile.am index 648140c42d..b3844c4474 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -4,7 +4,7 @@ DISTCLEANFILES = libintl.h config.h MAINTAINERCLEANFILES = Makefile.in config.h.in bin_PROGRAMS = lyx lyx_LDADD = mathed/mathed.o insets/insets.o support/libsupport.a \ - @INTLLIBS@ @LYX_LIBS@ + @INTLLIBS@ $(LYX_LIBS) lyx_DEPENDENCIES = mathed insets support/libsupport.a EXTRA_DIST = config.h.in stamp-h.in cheaders ETAGS_ARGS = --c++ diff --git a/src/insets/Makefile.am b/src/insets/Makefile.am index 7426f05bf7..6bd454fcfd 100644 --- a/src/insets/Makefile.am +++ b/src/insets/Makefile.am @@ -5,7 +5,7 @@ LIBS= LDFLAGS= ETAGS_ARGS = --c++ INCLUDES = -I${srcdir}/../ -CXXLINK = $(LD) -r -o $(noinst_PROGRAMS) +CXXLINK = $(LD) $(LDFLAGS)-r -o $(noinst_PROGRAMS) insets_o_SOURCES = \ figinset.C \ diff --git a/src/mathed/Makefile.am b/src/mathed/Makefile.am index 534637c67f..f6c1483f5f 100644 --- a/src/mathed/Makefile.am +++ b/src/mathed/Makefile.am @@ -5,7 +5,7 @@ LIBS= LDFLAGS= ETAGS_ARGS = --c++ INCLUDES = -I${top_srcdir}/images -I${srcdir}/../ -CXXLINK = $(LD) -r -o $(noinst_PROGRAMS) +CXXLINK = $(LD) $(LDFLAGS) -r -o $(noinst_PROGRAMS) mathed_o_SOURCES = array.h \ formula.C \