Mercurial > mxe-octave
view tools/set-mxe-env.sh.in @ 3531:d765eab1691e
bump version to 0.20
This version builds the stable-octave package completely from source
with mingw-w64 for both 32- and 64-bit systems. Currently, 64-bit
systems always use 64-bit indexing for Octave and dependencies.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 17 Feb 2014 01:20:23 -0500 |
parents | 6cf5d50556d4 |
children | 0962acdde3be |
line wrap: on
line source
#!/bin/bash MXEDIR=@MXE_ROOTDIR@ if [ -z "$MXE_OCTAVE_ENV" ]; then if [ "@MXE_NATIVE_BUILD@" = "yes" ]; then MXE_PATH="$MXEDIR/usr/bin" MXE_INC_PATH="$MXEDIR/usr/include" MXE_LIB_PATH="$MXEDIR/usr/lib" else HOST=$($MXEDIR/tools/config.guess) MXE_PATH="$MXEDIR/usr/$HOST/bin:$MXEDIR/usr/bin" MXE_INC_PATH="$MXEDIR/usr/$HOST/include" MXE_LIB_PATH="$MXEDIR/usr/$HOST/lib" fi export PATH="$MXE_PATH:$PATH" export CPPFLAGS="-I$MXE_INC_PATH" export LDFLAGS="-L$MXE_LIB_PATH" export LD_LIBRARY_PATH="$MXE_LIB_PATH:$LD_LIBRARY_PATH" export PKG_CONFIG_PATH="$MXE_LIB_PATH/pkgconfig" export PKG_CONFIG="$MXEDIR/usr/bin/pkg-config@EXEEXT@" export MXE_OCTAVE_ENV=$MXEDIR fi