This commit is contained in:
Adam Greene 2017-05-05 15:07:38 -04:00
parent f57a4dc0d5
commit ca9b92d3f1
2 changed files with 6 additions and 1 deletions

View File

@ -24,6 +24,8 @@ CURDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
TOOLCHAIN_TARGET="$(basename $(echo $CURDIR/*-*-musl*))"
TOOLCHAIN_ROOT="$CURDIR"
# Commonly used/needed static libraries, put them in the
# environment for easy access
UTIL_STATIC=$(find $(realpath $CURDIR) -name libutil.a)
C_STATIC=$(find $(realpath $CURDIR) -name libc.a)
DL_STATIC=$(find $(realpath $CURDIR) -name libdl.a)
@ -91,4 +93,4 @@ export STDCXX_STATIC
export GCCEH_STATIC
export TOOLCHAIN_TARGET
export TOOLCHAIN_ROOT
export TOOLCHAIN_BIN
export TOOLCHAIN_BIN

View File

@ -33,6 +33,9 @@ CURDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "$CURDIR/info.mk"
TOOLCHAIN_TARGET="$TARGET_CROSS"
TOOLCHAIN_ROOT="$CURDIR"
# Commonly used/needed static libraries, put them in the
# environment for easy access
UTIL_STATIC=$(find $(realpath $CURDIR) -name libutil.a)
C_STATIC=$(find $(realpath $CURDIR) -name libc.a)
DL_STATIC=$(find $(realpath $CURDIR) -name libdl.a)