Mercurial > hg > mxe-octave-anirudha
changeset 3195:34408ca1e683
Fix Octave configure.ac to export missing symbols while building with Java support
author | Anirudha Bose <ani07nov@gmail.com> |
---|---|
date | Wed, 31 Jul 2013 00:10:13 +0530 |
parents | ff253aef6d9e |
children | ffe9429158e6 |
files | dist-files.mk src/octave-1-fixes.patch |
diffstat | 2 files changed, 17 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/dist-files.mk +++ b/dist-files.mk @@ -361,6 +361,7 @@ ocaml-flexdll.mk \ ocaml-native-1-fixes.patch \ ocaml-native.mk \ + octave-1-fixes.patch \ octave.mk \ of-communications-1-fixes.patch \ of-communications.mk \
new file mode 100644 --- /dev/null +++ b/src/octave-1-fixes.patch @@ -0,0 +1,16 @@ +This file is part of MXE. +See index.html for further information. + +Contains patch to export all symbols while building Octave with Java support. + +diff -r 6aa8e9e7eeed configure.ac +--- a/configure.ac Tue Jul 30 22:14:44 2013 +0530 ++++ b/configure.ac Tue Jul 30 22:15:30 2013 +0530 +@@ -2532,6 +2532,7 @@ + JAVA_CPPFLAGS="-I${JAVA_HOME}/include -I${JAVA_HOME}/include/win32" + fi + JAVA_LIBS=-ladvapi32 ++ LDFLAGS="$LDFLAGS -Wl,--export-all-symbols" + ;; + *) + if test -n "$JAVA_CPPFLAGS"; then