Skip to content

Commit

Permalink
tools/mkexport: copy full library directly if library without path
Browse files Browse the repository at this point in the history
copy full library directly if library without path

Signed-off-by: chao an <[email protected]>
  • Loading branch information
anchao committed Sep 8, 2023
1 parent f39de6f commit 6970753
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/mkexport.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6970753

Please sign in to comment.