1
0
forked from aniani/vim

patch 8.2.2089: libvterm test fails to build on Mac

Problem:    Libvterm test fails to build on Mac.
Solution:   Adjust configure to remove a space between -L and the path that
            follows.
This commit is contained in:
Bram Moolenaar
2020-12-04 18:09:54 +01:00
parent f6c177ab3a
commit 6cd42db9dc
3 changed files with 8 additions and 0 deletions

2
src/auto/configure vendored
View File

@@ -14861,6 +14861,8 @@ else
$as_echo "no" >&6; } $as_echo "no" >&6; }
fi fi
LDFLAGS=`echo "$LDFLAGS" | sed -e 's/-L /-L/g'`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking linker --as-needed support" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker --as-needed support" >&5
$as_echo_n "checking linker --as-needed support... " >&6; } $as_echo_n "checking linker --as-needed support... " >&6; }
LINK_AS_NEEDED= LINK_AS_NEEDED=

View File

@@ -4467,6 +4467,10 @@ else
AC_MSG_RESULT(no) AC_MSG_RESULT(no)
fi fi
dnl $LDFLAGS is passed to glibtool in libvterm, it doesn't like a space
dnl between "-L" and the path that follows.
LDFLAGS=`echo "$LDFLAGS" | sed -e 's/-L /-L/g'`
dnl link.sh tries to avoid overlinking in a hackish way. dnl link.sh tries to avoid overlinking in a hackish way.
dnl At least GNU ld supports --as-needed which provides the same functionality dnl At least GNU ld supports --as-needed which provides the same functionality
dnl at linker level. Let's use it. dnl at linker level. Let's use it.

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
2089,
/**/ /**/
2088, 2088,
/**/ /**/