Build system for MEX/Octave: use Octave's LDFLAGS in the configure script

This will facilitate the detection of UMFPACK under Windows
time-shift
Sébastien Villemot 2013-03-29 15:07:38 +01:00
parent aa73a3f5ed
commit 513ae741e3
2 changed files with 1 additions and 3 deletions

View File

@ -30,6 +30,7 @@ if test "x$MKOCTFILE" != "x"; then
CFLAGS=`$MKOCTFILE -p CFLAGS`
FFLAGS=`$MKOCTFILE -p FFLAGS`
CXXFLAGS=`$MKOCTFILE -p CXXFLAGS`
LDFLAGS="`$MKOCTFILE -p LFLAGS` `$MKOCTFILE -p LDFLAGS`"
fi
CFLAGS="$CFLAGS -Wall -Wno-parentheses"

View File

@ -8,10 +8,7 @@ DEFS += -DMEXEXT=\".mex\"
AM_CFLAGS = $(shell $(MKOCTFILE) -p CPICFLAG)
AM_FFLAGS = $(shell $(MKOCTFILE) -p FPICFLAG)
AM_CXXFLAGS = $(shell $(MKOCTFILE) -p CXXPICFLAG)
AM_LDFLAGS = $(shell $(MKOCTFILE) -p DL_LDFLAGS)
AM_LDFLAGS += $(shell $(MKOCTFILE) -p LFLAGS)
AM_LDFLAGS += $(shell $(MKOCTFILE) -p LDFLAGS)
LIBS += $(shell $(MKOCTFILE) -p OCTAVE_LIBS)
LIBS += $(shell $(MKOCTFILE) -p BLAS_LIBS)