8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 22:43:03 +01:00

Fixed #7283: Suspicious error message during install

This commit is contained in:
AlexPeshkoff 2022-08-29 19:47:06 +03:00
parent 5bac471fa1
commit 401ece980b
2 changed files with 7 additions and 4 deletions

View File

@ -57,8 +57,8 @@ addLibs() {
LIB=`objdump -p $libSdir/firebird|grep NEEDED|grep tomcrypt|awk '{print $2;}'`
[ "$LIB" ] && echo "export LIBTOMCRYPT=$LIB" >>$libTarget
LIB=`objdump -p $libSdir/isql|grep NEEDED|egrep "(curses|termcap|tinfo)"|awk '{print $2;}'`
[ "$LIB" ] && echo "export LIBCURSES=$LIB" >>$libTarget
LIB=$(echo `objdump -p $libSdir/isql|grep NEEDED|egrep "(curses|termcap|tinfo)"|awk '{print $2;}'`)
[ "$LIB" ] && echo "export LIBCURSES='$LIB'" >>$libTarget
echo >>$libTarget
for i in posixLibrary.sh linuxLibrary.sh

View File

@ -211,8 +211,11 @@ missingLibrary() {
# Check library presence, errorexit when missing
checkLibrary() {
libName=${1}
libList=${1}
for libName in $libList
do
haveLibrary $libName || missingLibrary $libName
done
}