Mercurial > octave
diff src/Makefile.am @ 13024:f3c53fea9fb5
maint: more linking tweaks
* configure.ac (--enable-link-all-dependencies): New option.
(--enable-no-undefined): New option.
Don't set NO_UNDEFINED_LDFLAG specially on Windows systems.
* liboctave/link-deps.mk (LIBOCTAVE_LINK_DEPS):
Include $(LAPACK_LIBS), $(BLAS_LIBS) and $(LIBS) in the list.
* config-modules.awk: Add $(NO_UNDEFINED_LDFLAG) to LDFLAGS variables.
* src/link-deps.mk (OCT_LINK_DEPS): Remove $(NO_UNDEFINED_LDFLAG from
the list.
* src/mkoctfile.cc.in, mkoctfile.in:
Always link files with -loctinterp, -loctave, and -lcruft.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 29 Aug 2011 11:49:30 -0400 |
parents | 05534f03377d |
children | e81ddf9cacd5 |
line wrap: on
line diff
--- a/src/Makefile.am Mon Aug 29 10:53:07 2011 -0400 +++ b/src/Makefile.am Mon Aug 29 11:49:30 2011 -0400 @@ -535,7 +535,9 @@ ../libcruft/libcruft.la \ $(OCTAVE_LINK_DEPS) -octave_LDFLAGS = $(OCTAVE_LINK_OPTS) +octave_LDFLAGS = \ + $(NO_UNDEFINED_LDFLAG) \ + $(OCTAVE_LINK_OPTS) ## Section for defining and creating DEF_FILES SRC_DEF_FILES := $(shell $(srcdir)/find-defun-files.sh "$(srcdir)" $(DIST_SRC))