diff options
author | Peter Wu <peter@lekensteyn.nl> | 2015-10-09 16:26:24 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2015-10-13 07:36:30 +0000 |
commit | 01f82ee84cc849aa7c2f344d2067f0d81715490d (patch) | |
tree | 0c6af89c687d56aef44f67f1bb515cff7c03a376 /CMakeLists.txt | |
parent | e6a071db059b1b84a3570292b3f49844c8108627 (diff) |
cmake: fix kerberos library lookup, support Heimdal
A build with the gold linker broke with:
run/libwireshark.so.0.0.0: error: undefined reference to 'krb5_c_decrypt'
Fix this my restructuring the FindKERBEROS module to use the libraries
found by pkg-config.
While at it, check for MIT and Heimdal instead of assuming MIT. Remove
HAVE_KEYTYPE_ARCFOUR_56 as this macro is not used.
Change-Id: Iab23d79bc3f25e9c0fd7203b6f050f875fb4a2b5
Reviewed-on: https://code.wireshark.org/review/10907
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Jörg Mayer <jmayer@loplof.de>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 79db608efe..43167708ca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -834,9 +834,6 @@ if(HAVE_LIBLUA) endif() if(HAVE_LIBKERBEROS) set(HAVE_KERBEROS 1) - # HAVE_HEIMDAL_KERBEROS - set(HAVE_MIT_KERBEROS 1) - set(HAVE_KEYTYPE_ARCFOUR_56 1) endif() if(HAVE_LIBGEOIP) set(HAVE_GEOIP 1) |