Commit b93f82bf authored by Anton Ertl's avatar Anton Ertl

fixed C_INCLUDE_PATH bug reported by caleb.ristvedt@cune.org...

fixed C_INCLUDE_PATH bug reported by caleb.ristvedt@cune.org <3ffdf7a2-6cf7-4245-97cd-94690ccd7193@googlegroups.com>
parent 846f17aa
......@@ -25,7 +25,11 @@ export CROSS_PREFIX=@CROSS_PREFIX@
@NO_CROSS@test -z "$ENGINE" && ENGINE=./gforth
@NO_CROSS@test -f "gforth.fi" && KERNEL="gforth.fi"
LIBCCDIR=$PWD/lib/gforth/$VERSION/$machine/libcc-named/
export C_INCLUDE_PATH=@srcdir@/include/gforth/$VERSION/$machine
if test -n "$C_INCLUDE_PATH"; then
C_INCLUDE_PATH="@srcdir@/include/gforth/$VERSION/$machine:$C_INCLUDE_PATH"
else
export C_INCLUDE_PATH=@srcdir@/include/gforth/$VERSION/$machine
fi
EXTRAPATH="also c-lib s\" $LIBCCDIR\" >libcc-named-dir libcc-path clear-path libcc-named-dir libcc-path also-path :noname 2drop s\" $DEST\" ; is replace-rpath previous"
if test -f "$ENGINE" -a -f "$KERNEL"; then
$ENGINE -p ".@PATHSEP@~+@PATHSEP@@srcdir@@PATHSEP@$PWD" --die-on-signal -e "$EXTRAPATH" "$@"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment