diff options
author | Martin Storsjo <martin@martin.st> | 2012-01-27 00:50:35 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2012-01-28 14:09:51 +0100 |
commit | f710aa40b326377b6834b59cc937bf50e929aba7 (patch) | |
tree | 869c066e261fd8b174317c92e5c16383459d6c26 /perl/contrib | |
parent | f4d3c0cbfb648917a0b78d291ac9855fd12975a9 (diff) |
Explicitly link to the nettle/gcrypt libraries
When support for nettle was added in 64f328c787ab, I overlooked
the fact that AC_CHECK_LIB doesn't add the tested lib to LIBS
if the check succeeded, if a custom success code block was present.
(The previous version of the check had an empty block for
successful checks, adding the lib to LIBS implicitly.)
Therefore, explicitly add either nettle or gcrypt to LIBS, after
deciding which one to use. Even if they can be linked in
transitively, it is safer to actually link explicitly to them.
This fixes building with gnutls with linkers that don't allow
linking transitively, such as for windows.
Diffstat (limited to 'perl/contrib')
0 files changed, 0 insertions, 0 deletions