Browse Source

sde-build-tools: make sure we don't can't a .a for fl_wrapper

Signed-off-by: Alejandro Mery <amery@jpi.io>
master
Alejandro Mery 4 years ago
committed by Alejandro Mery
parent
commit
fd40fbfc66
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      bin/sde-build-tools

+ 3
- 2
bin/sde-build-tools

@ -286,8 +286,9 @@ if [ ! -f $TOOLSDIR/.lastupdate ] ; then
# Flist Wrapper Library
#
if [ "$SDECFG_FLIST" = "flwrapper" ] ; then
FLWRAPPER_LIBC=$(ls -1 "$xroot"/{lib64,lib}/libc[.-]* \
"$xroot"/{lib64,lib}/*/libc[.-]* 2>/dev/null |
FLWRAPPER_LIBC=$(ls -1 \
"$xroot"/lib*/{*/,}libc[.-]* 2> /dev/null |
grep -v '\.a$' | grep '\.so' |
sort -V | head -n1 )
if [ ! -f "$FLWRAPPER_LIBC" ]; then
abort 'Unable to detect /lib/libc.* for flwrapper'

Loading…
Cancel
Save