view src/octave-1-mingw-export-symbols.patch @ 3198:1f06b6385e27

Renamed Octave patches according to 'PACKAGE-PATCHNUMBER-DESCRIPTION.patch' format
author Anirudha Bose <ani07nov@gmail.com>
date Thu, 01 Aug 2013 15:21:28 +0530
parents src/octave-1-fixes.patch@34408ca1e683
children
line wrap: on
line source

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