Wireshark-commits: [Wireshark-commits] master e6a071d: cmake: link against dl, fixes linking with g

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 13 Oct 2015 07:36:02 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e6a071db059b1b84a3570292b3f49844c8108627
Submitter: Peter Wu (peter@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

e6a071d by Peter Wu (peter@xxxxxxxxxxxxx):

    cmake: link against dl, fixes linking with gold
    
    wsutil/filesystem.c uses dladdr (when available), but does not declare a
    dependency on it. Adding it fixes a CMAKE_C(XX)_FLAGS=-fuse-ld=gold
    build failure:
    
        run/libwsutil.so.0.0.0: error: undefined reference to 'dladdr'
    
    This change is somehow not necessary for autotools, just for cmake.
    
    Change-Id: I642a7d85f9c33541831262f930e73d1f47c58b60
    Reviewed-on: https://code.wireshark.org/review/10906
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Jörg Mayer <jmayer@xxxxxxxxx>
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  2f454a3   ssl-utils: fix anchoring matches in keylog file
    adds  e6a071d   cmake: link against dl, fixes linking with gold


Summary of changes:
 wsutil/CMakeLists.txt |    1 +
 1 file changed, 1 insertion(+)