Mercurial > mxe-octave
view tools/set_mxe_env.sh.in @ 3409:5e77c5fc91ed
qt: build translations in cross build and install
* src/qt.mk: in cross compile configure options, set translate path and -make option.
* makeinst-script.sh: Add createion and removal of libexec\octave\octave-version\qt.conf
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Fri, 10 Jan 2014 21:22:39 -0500 |
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