Kaydet (Commit) 263d8b92 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Expand the FOO_LIBS vars to a list of the actual archives

Thus the output can also be used in makefiles where a list of actual
files is needed.

Change-Id: I23396dc2e98c47b99cbf53926f247bd834119976
üst eda27039
......@@ -17,12 +17,25 @@ if test "$OS" != ANDROID -a "$OS" != IOS; then
echo This script makes sense only in Android or iOS builds.
fi
foolibs=
for var in EBOOK_LIBS FREEHAND_LIBS HUNSPELL_LIBS HYPHEN_LIB MYTHES_LIBS; do
dirs=
libs=
for i in `eval echo '$'$var`; do
case "$i" in
-L*) dirs="$dirs ${i#-L}";;
-l*) libs="$libs ${i#-l}";;
esac
done
for l in $libs; do
for d in $dirs; do
test -f $d/lib$l.a && foolibs="$foolibs $d/lib$l.a"
done
done
done
echo $INSTDIR/$LIBO_LIB_FOLDER/lib*.a \
$EBOOK_LIBS \
$FREEHAND_LIBS \
$HUNSPELL_LIBS \
$HYPHEN_LIB \
$MYTHES_LIBS \
$foolibs \
$WORKDIR/LinkTarget/StaticLibrary/lib*.a \
$WORKDIR/UnpackedTarball/icu/source/lib/*.a \
$WORKDIR/UnpackedTarball/lcms2/src/.libs/*.a \
......
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