]> git.pld-linux.org Git - packages/gnutls.git/blob - gnutls-link.patch
- pakchois patch to fix system pakchois check
[packages/gnutls.git] / gnutls-link.patch
1 --- gnutls-2.8.5/lib/m4/lib-link.m4.orig        2009-11-02 11:34:50.000000000 +0100
2 +++ gnutls-2.8.5/lib/m4/lib-link.m4     2010-01-31 19:56:56.126778128 +0100
3 @@ -322,7 +322,11 @@
4            fi
5            if test "X$found_dir" != "X"; then
6              dnl Found the library.
7 +            if test "X$found_dir" = "X/usr/$acl_libdirstem"; then
8 +                LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
9 +           else
10              LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
11 +           fi
12              if test "X$found_so" != "X"; then
13                dnl Linking with a shared library. We attempt to hardcode its
14                dnl directory into the executable's runpath, unless it's the
15 --- gnutls-2.12.0/m4/lib-link.m4.orig   2008-05-17 07:44:04.000000000 +0200
16 +++ gnutls-2.12.0/m4/lib-link.m4        2011-04-02 11:29:18.159546509 +0200
17 @@ -322,7 +322,11 @@
18            fi
19            if test "X$found_dir" != "X"; then
20              dnl Found the library.
21 +            if test "X$found_dir" = "X/usr/$acl_libdirstem"; then
22 +                LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
23 +           else
24              LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
25 +           fi
26              if test "X$found_so" != "X"; then
27                dnl Linking with a shared library. We attempt to hardcode its
28                dnl directory into the executable's runpath, unless it's the
29 --- gnutls-2.12.0/libextra/gl/m4/lib-link.m4.orig       2011-03-02 18:39:14.000000000 +0100
30 +++ gnutls-2.12.0/libextra/gl/m4/lib-link.m4    2011-04-02 11:29:43.620681483 +0200
31 @@ -370,7 +370,11 @@
32            fi
33            if test "X$found_dir" != "X"; then
34              dnl Found the library.
35 +            if test "X$found_dir" = "X/usr/$acl_libdirstem"; then
36 +                LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
37 +           else
38              LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
39 +           fi
40              if test "X$found_so" != "X"; then
41                dnl Linking with a shared library. We attempt to hardcode its
42                dnl directory into the executable's runpath, unless it's the
This page took 0.034945 seconds and 4 git commands to generate.