Mercurial > mxe-octave
view tools/set_mxe_env.sh.in @ 3329:7bbaffce14a8
Don't create temporary fontconfig install dir which is never removed.
* src/mingw-fontconfig-1.patch: Don't create fc_cachedir, it only needs to
exist on cross-compiled host.
* src/msvc-fontconfig-1.patch: Rely on mingw-fontconfig-1.patch to stop
creation of fc_cachedir.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 17 Nov 2013 14:32:02 -0800 |
parents | 94042dd6ea1a |
children |
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