Mercurial > mxe-octave
view tools/set_mxe_env.sh.in @ 3180:803d75af88ca
Set native build options using configure definitions
* tools/set_mxe_env.sh.in: use the config.guess name for the host, set the pkgconfig exe extension based on EXEEXT.
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Thu, 25 Jul 2013 21:29:53 -0400 |
parents | cbdf4575016d |
children | 0d3feaef089f |
line wrap: on
line source
#!/bin/bash MXEDIR=@MXE_ROOTDIR@ HOST=$($MXEDIR/tools/config.guess) 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@EXEEXT@" export MXE_OCTAVE_ENV=$MXEDIR fi