view tools/set_mxe_env.sh.in @ 3132:2733829a184e

[MSVC] enable glib compilation - update glib package to 2.36.3 - move old glib patch to mingw-glib-1-fixes.patch; this is a temporary solution, the patch contains many things that are not needed when cross-compiling static libraries
author Michael Goffioul <michael.goffioul@gmail.com>
date Fri, 12 Jul 2013 17:55:13 -0400
parents cbdf4575016d
children 803d75af88ca
line wrap: on
line source

#!/bin/bash
MXEDIR=@MXE_ROOTDIR@
HOST=i686-pc-mingw32

if [ -z "$MXE_OCTAVE_ENV" ]; then

export PATH="$MXEDIR/usr/$HOST/bin:$MXEDIR/usr/bin:$PATH"
export CPPFLAGS="-I$MXEDIR/usr/$HOST/include"
export LDFLAGS="-L$MXEDIR/usr/$HOST/lib"
export LD_LIBRARY_PATH="$MXEDIR/usr/$HOST/lib:$LD_LIBRARY_PATH"
export PKG_CONFIG_PATH="$MXEDIR/usr/$HOST/lib/pkgconfig"
export PKG_CONFIG="$MXEDIR/usr/bin/pkg-config.exe"

export MXE_OCTAVE_ENV=$MXEDIR

fi