mirror of
https://github.com/moparisthebest/curl
synced 2025-01-01 17:08:00 -05:00
Work around a bug in libtool ver. 1.5 during LDAP library detection.
This commit is contained in:
parent
fc80c714e8
commit
b5112096d7
@ -785,10 +785,12 @@ dnl in LDAP_NAME holding the string "libldap.so.2".
|
|||||||
AC_DEFUN([CURL_DLLIB_NAME],
|
AC_DEFUN([CURL_DLLIB_NAME],
|
||||||
[
|
[
|
||||||
AC_MSG_CHECKING([name of dynamic library $2])
|
AC_MSG_CHECKING([name of dynamic library $2])
|
||||||
|
dnl Work around a bug in libtool ver. 1.5
|
||||||
|
test -z "$shared_ext" && shared_ext="$shrext_cmds"
|
||||||
|
|
||||||
dnl Create the dynamic library name of the correct form for this platform
|
dnl Create the dynamic library name of the correct form for this platform
|
||||||
DLGUESSLIB=`name=$2 eval echo "$libname_spec"`
|
DLGUESSLIB=`name=$2 eval echo "$libname_spec"`
|
||||||
DLGUESSFILE=`libname=$DLGUESSLIB release="" major="" eval echo "$soname_spec"`
|
DLGUESSFILE=`libname="$DLGUESSLIB" release="" major="" eval echo "$soname_spec"`
|
||||||
|
|
||||||
if test "$cross_compiling" = yes; then
|
if test "$cross_compiling" = yes; then
|
||||||
dnl Can't look at filesystem when cross-compiling
|
dnl Can't look at filesystem when cross-compiling
|
||||||
|
Loading…
Reference in New Issue
Block a user