mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 18:43:02 +01:00
New method to define default lib directory
This commit is contained in:
parent
10c7e090f4
commit
e4fbeb5bb8
@ -475,24 +475,10 @@ standaloneServerInstalled() {
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
# Corrects build-time "libdir" value
|
||||
# Warning - parameter ignored !!!
|
||||
|
||||
CorrectLibDir() {
|
||||
ld=${1}
|
||||
l=/usr/lib
|
||||
l64=/usr/lib64
|
||||
|
||||
if [ "$ld" = "$l64" ]
|
||||
then
|
||||
if [ -d "$l" ]
|
||||
then
|
||||
if [ ! -d "$l64" ]
|
||||
then
|
||||
ld="$l"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "$ld"
|
||||
dirname $(ldconfig -p | grep ld-linux | awk -F '>' '{print $2;}')
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user