Applying patch correct-linking from Sven Hoexter
This commit is contained in:
parent
639b49517b
commit
00a8f4568c
11
configure
vendored
11
configure
vendored
@ -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
|
||||||
|
11
configure.in
11
configure.in
@ -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__
|
||||||
|
Loading…
x
Reference in New Issue
Block a user