mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 20:40:05 -05:00
HACK: ignore libXXX.la files when using -lXXX
Should make -static behave as expected
This commit is contained in:
parent
1372965d89
commit
bf3497cca8
1 changed files with 8 additions and 8 deletions
|
|
@ -1420,14 +1420,14 @@ compiler."
|
|||
continue
|
||||
fi
|
||||
name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
|
||||
for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
|
||||
# Search the libtool library
|
||||
lib="$searchdir/lib${name}.la"
|
||||
if test -f "$lib"; then
|
||||
found=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
# for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
|
||||
# # Search the libtool library
|
||||
# lib="$searchdir/lib${name}.la"
|
||||
# if test -f "$lib"; then
|
||||
# found=yes
|
||||
# break
|
||||
# fi
|
||||
# done
|
||||
if test "$found" != yes; then
|
||||
# deplib doesn't seem to be a libtool library
|
||||
if test "$linkmode,$pass" = "prog,link"; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue