# HG changeset patch # User Anirudha Bose # Date 1375209613 -19800 # Node ID 34408ca1e68381d69bb564a22d77a716c39e5865 # Parent ff253aef6d9e60373b04c79a8f5763996da91e32 Fix Octave configure.ac to export missing symbols while building with Java support diff --git a/dist-files.mk b/dist-files.mk --- 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 \ diff --git a/src/octave-1-fixes.patch b/src/octave-1-fixes.patch 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