]>
Commit | Line | Data |
---|---|---|
0381cb26 JB |
1 | --- gnutls-3.5.6/m4/lib-link.m4.orig 2008-05-17 07:44:04.000000000 +0200 |
2 | +++ gnutls-3.5.6/m4/lib-link.m4 2011-04-02 11:29:18.159546509 +0200 | |
cf4ab563 JB |
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 |