diff options
author | Peter Wu <peter@lekensteyn.nl> | 2018-05-04 11:01:16 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-05-04 10:16:39 +0000 |
commit | 8815ac76db2e10f5ac0dd7d2f2dd434e2796acce (patch) | |
tree | 1434ffce6dac962bcd9eaaa962658100183c69a8 /epan | |
parent | 7f7f8326af715767a5ea4a4439132ffdf06881dc (diff) |
CMake: fix build by not unnecessarily linking with wsutil
When built with -DCMAKE_BUILD_WITH_INSTALL_RPATH=1, make-taps and
make-dissectors fail to run because they cannot locate libwsutil.so.0.
Since v2.9.0rc0-178-gbb81bef535 ("glib: Get rid of GLIB_CHECK_VERSION as
we now require 2.32.0") wsutil is definitely no longer needed.
Change-Id: Ida269fdb5f2cba979e3776f57c1a6bf3d546fe5d
Reviewed-on: https://code.wireshark.org/review/27329
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/CMakeLists.txt b/epan/dissectors/CMakeLists.txt index ff8b3c6365..5a4fa25fce 100644 --- a/epan/dissectors/CMakeLists.txt +++ b/epan/dissectors/CMakeLists.txt @@ -1888,8 +1888,7 @@ set(ALL_DISSECTOR_SRC ) add_executable(make-dissectors make-dissectors.c) -# wsutil is only required for glib-compat.c -target_link_libraries(make-dissectors ${GLIB2_LIBRARIES} wsutil) +target_link_libraries(make-dissectors ${GLIB2_LIBRARIES}) if(WIN32) add_dependencies(make-dissectors copy_cli_dlls) |