# HG changeset patch # User John Donoghue # Date 1375917503 14400 # Node ID 0d3feaef089f96e8e8805910a1fd496d17777be0 # Parent 78d7da6225f68fcbce90be1ab180bf78538b92bb Setup set_mxe_env.sh paths for native/non native builds dependant on config variables. * tools/set_mxe_env.sh.in: use MXE_NATIVE_BUILD config variable to set HOST for environment path. diff -r 78d7da6225f6 -r 0d3feaef089f tools/set_mxe_env.sh.in --- a/tools/set_mxe_env.sh.in Wed Aug 07 08:33:31 2013 -0400 +++ b/tools/set_mxe_env.sh.in Wed Aug 07 19:18:23 2013 -0400 @@ -1,6 +1,11 @@ #!/bin/bash MXEDIR=@MXE_ROOTDIR@ -HOST=$($MXEDIR/tools/config.guess) + +if [ "@MXE_NATIVE_BUILD@" = "yes" ]; then + HOST="" +else + HOST=$($MXEDIR/tools/config.guess) +fi if [ -z "$MXE_OCTAVE_ENV" ]; then