Skip to content
Snippets Groups Projects
Verified Commit 46d5f945 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Build system: no longer link MEX for Octave against liboctave and other libraries

Since Octave 5, mkoctfile no longer links MEX files against shared
libraries (other than libc/libstdc++/libgfortran), so we now mimick that
behaviour.

(cherry picked from commit c5120e12)
parent 8e95dfdb
Branches
Tags
No related merge requests found
......@@ -10,12 +10,6 @@ AM_FCFLAGS = $(shell $(MKOCTFILE) -p FPICFLAG) -Wall -Wimplicit-interface
AM_CXXFLAGS = $(shell $(MKOCTFILE) -p CXXPICFLAG) -Wall -Wno-parentheses -Wold-style-cast
AM_LDFLAGS = $(shell $(MKOCTFILE) -p DL_LDFLAGS) -L"$(shell $(MKOCTFILE) -p OCTLIBDIR)"
LIBS += $(shell $(MKOCTFILE) -p OCTAVE_LIBS)
LIBS += $(shell $(MKOCTFILE) -p BLAS_LIBS)
LIBS += $(shell $(MKOCTFILE) -p LAPACK_LIBS)
LIBS += $(shell $(MKOCTFILE) -p FFTW_LIBS)
LIBS += $(shell $(MKOCTFILE) -p LIBS)
mexdir = $(libdir)/dynare/mex/octave
all-local: $(PROGRAMS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment