diff options
author | Orion Poplawski <orion@nwra.com> | 2019-04-27 08:46:19 -0600 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2019-05-24 19:30:47 +0100 |
commit | ae7c04e2048f0da858a6a1f806d37ff427bd980a (patch) | |
tree | 6e22485c0728dcaee799e7fae370b0e7ff421dad | |
parent | e23ae76159745152898e634513ead6045d747240 (diff) | |
download | swig-ae7c04e2048f0da858a6a1f806d37ff427bd980a.tar.gz |
Adapt OCTAVE_LDFLAGS for Octave 5.1
-rw-r--r-- | configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 133975f7e..2c9c338da 100644 --- a/configure.ac +++ b/configure.ac @@ -1114,7 +1114,10 @@ if test -n "$OCTAVE"; then AC_MSG_CHECKING([for Octave linker flags]) OCTAVE_LDFLAGS= - for var in RDYNAMIC_FLAG LFLAGS RLD_FLAG OCTAVE_LIBS LIBS; do + for var in OCTLIBDIR; do + OCTAVE_LDFLAGS="${OCTAVE_LDFLAGS} "-L`env - ${mkoctfile} -p ${var}` + done + for var in RDYNAMIC_FLAG RLD_FLAG OCTAVE_LIBS LIBS; do OCTAVE_LDFLAGS="${OCTAVE_LDFLAGS} "`env - ${mkoctfile} -p ${var}` done AC_MSG_RESULT([$OCTAVE_LDFLAGS]) |