Applying patch correct-linking from Sven Hoexter

This commit is contained in:
Steve Havelka 2014-09-28 23:12:23 -07:00
parent 639b49517b
commit 00a8f4568c
2 changed files with 20 additions and 2 deletions

11
configure vendored
View File

@ -4939,7 +4939,16 @@ fi
$as_echo "yes" >&6; } $as_echo "yes" >&6; }
vars="`$curlpath/curl-config --libs`" # We need to modify this original line to strip a few things
# See: http://lists.debian.org/debian-devel-announce/2006/09/msg00018.html
vars="`$curlpath/curl-config --libs|sed \
-e 's/\-lkrb5\>//g' \
-e 's/\-lgssapi_krb5//g' \
-e 's/\-lk5crypto//g' \
-e 's/\-lkrb5support//g' \
`"
for i in $vars; do for i in $vars; do
if test "${TEA_PLATFORM}" = "windows" -a "$GCC" = "yes" ; then if test "${TEA_PLATFORM}" = "windows" -a "$GCC" = "yes" ; then
# Convert foo.lib to -lfoo for GCC. No-op if not *.lib # Convert foo.lib to -lfoo for GCC. No-op if not *.lib

View File

@ -134,7 +134,16 @@ if test "${CURL_VERSION}" != "" ; then
fi fi
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)
TEA_ADD_LIBS([`$curlpath/curl-config --libs`]) # We need to modify this original line to strip a few things
# See: http://lists.debian.org/debian-devel-announce/2006/09/msg00018.html
TEA_ADD_LIBS([`$curlpath/curl-config --libs|sed \
-e 's/\-lkrb5\>//g' \
-e 's/\-lgssapi_krb5//g' \
-e 's/\-lk5crypto//g' \
-e 's/\-lkrb5support//g' \
`])
#-------------------------------------------------------------------- #--------------------------------------------------------------------
# __CHANGE__ # __CHANGE__