]> git.sven.stormbind.net Git - sven/tclcurl.git/blob - debian/patches/correct-linking
Refresh all patches.
[sven/tclcurl.git] / debian / patches / correct-linking
1 Strip out a few libs from the linker to lower the amount of direct depedencies
2 for this package.
3 See: http://lists.debian.org/debian-devel-announce/2006/09/msg00018.html
4 --- a/configure
5 +++ b/configure
6 @@ -4939,7 +4939,16 @@ fi
7  $as_echo "yes" >&6; }
8  
9  
10 -    vars="`$curlpath/curl-config --libs`"
11 +# We need to modify this original line to strip a few things
12 +# See: http://lists.debian.org/debian-devel-announce/2006/09/msg00018.html
13 +
14 +    vars="`$curlpath/curl-config --libs|sed \
15 +    -e 's/\-lkrb5\>//g' \
16 +    -e 's/\-lgssapi_krb5//g' \
17 +    -e 's/\-lk5crypto//g' \
18 +    -e 's/\-lkrb5support//g' \
19 + `"
20 +
21      for i in $vars; do
22         if test "${TEA_PLATFORM}" = "windows" -a "$GCC" = "yes" ; then
23             # Convert foo.lib to -lfoo for GCC.  No-op if not *.lib
24 --- a/configure.in
25 +++ b/configure.in
26 @@ -134,7 +134,16 @@ if test "${CURL_VERSION}" != "" ; then
27  fi
28  AC_MSG_RESULT(yes)
29  
30 -TEA_ADD_LIBS([`$curlpath/curl-config --libs`])
31 +# We need to modify this original line to strip a few things
32 +# See: http://lists.debian.org/debian-devel-announce/2006/09/msg00018.html
33 +
34 +TEA_ADD_LIBS([`$curlpath/curl-config --libs|sed \
35 +    -e 's/\-lkrb5\>//g' \
36 +    -e 's/\-lgssapi_krb5//g' \
37 +    -e 's/\-lk5crypto//g' \
38 +    -e 's/\-lkrb5support//g' \
39 + `])
40 +
41  
42  #--------------------------------------------------------------------
43  # __CHANGE__