tools/mkexport: copy full library directly if library without path

copy full library directly if library without path

Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
chao an 2023-03-17 16:47:45 +08:00 committed by Xiang Xiao
parent 88105f2b3d
commit 42873065a6

View File

@ -423,6 +423,11 @@ for lib in ${EXTRA_LIBS}; do
lib=`echo "${lib}" | sed -e "s/-l/lib/" -e "s/$/${LIBEXT}/"`
fi
if [ -f "${lib}" ]; then
cp -a ${lib} ${EXPORTDIR}/libs
continue
fi
for path in ${EXTRA_LIBPATHS}; do
# Skip the library path options