e5d8b0e BUILD: Fix linking of test_sdap_initgr

Authored and Committed by lslebodn 4 years ago
1 file changed. 3 lines added. 2 lines removed.
    BUILD: Fix linking of test_sdap_initgr
    There was a linking fialure on debian:
    /usr/bin/ld: src/tests/cmocka/test_sdap_initgr-test_sdap_initgr.o:
       undefined reference to symbol 'hash_iterate@@DHASH_0.4.3'
    //usr/lib64/libdhash.so.1: error adding symbols: DSO missing from command line
    collect2: error: ld returned 1 exit status
    This patch adds some missing libraries and remove unnecessary libraries.
    Bug was intoduced in commit 0b7ded15e53b3f31f1570c366f04bc41e5761929
    Reviewed-by: Michal Židek <mzidek@redhat.com>
file modified
+3 -2