From 00a8f4568c356500115e08a2cef752e7f3ee47d1 Mon Sep 17 00:00:00 2001 From: Steve Havelka Date: Sun, 28 Sep 2014 23:12:23 -0700 Subject: [PATCH] Applying patch correct-linking from Sven Hoexter --- configure | 11 ++++++++++- configure.in | 11 ++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/configure b/configure index e7d6656..40ae6ce 100755 --- a/configure +++ b/configure @@ -4939,7 +4939,16 @@ fi $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 if test "${TEA_PLATFORM}" = "windows" -a "$GCC" = "yes" ; then # Convert foo.lib to -lfoo for GCC. No-op if not *.lib diff --git a/configure.in b/configure.in index 6f1a6ee..951d9b6 100755 --- a/configure.in +++ b/configure.in @@ -134,7 +134,16 @@ if test "${CURL_VERSION}" != "" ; then fi 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__