mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 18:43:02 +01:00
Next attempt to better detect default libdir
This commit is contained in:
parent
bbcbcbccc7
commit
0397853401
@ -475,10 +475,19 @@ standaloneServerInstalled() {
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
# Corrects build-time "libdir" value
|
||||
# Warning - parameter ignored !!!
|
||||
|
||||
CorrectLibDir() {
|
||||
dirname $(ldconfig -p | grep ld-linux | awk -F '>' '{print $2;}')
|
||||
ld=${1}
|
||||
l64=/usr/lib64
|
||||
|
||||
if [ "$ld" = "$l64" ]
|
||||
then
|
||||
LDL=ld-linux-x86-64
|
||||
else
|
||||
LDL=ld-linux-x32
|
||||
fi
|
||||
|
||||
dirname $(ldconfig -p | grep $LDL | awk -F '>' '{print $2;}')
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user