diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2014-03-07 16:46:52 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-04-04 10:06:06 +0200 |
commit | 77f380ae2e2a8bacd0d7ac5fbc11936cbc781d2d (patch) | |
tree | 909336fabfff53dc0b6826addabaa07196a033f7 | |
parent | ac93a2d27415abd730aa1063b1689def8be9dbe9 (diff) | |
download | sssd-77f380ae2e2a8bacd0d7ac5fbc11936cbc781d2d.tar.gz sssd-77f380ae2e2a8bacd0d7ac5fbc11936cbc781d2d.tar.xz sssd-77f380ae2e2a8bacd0d7ac5fbc11936cbc781d2d.zip |
Makefile: Add missing library to the dp_opt_tests
dp_opt_tests cannot be linked properly if link_all_deplibs is disabled (debian)
/usr/bin/ld: src/tests/cmocka/dp_opt_tests-test_dp_opts.o:
undefined reference to symbol 'poptFreeContext@@LIBPOPT_0'
/usr/bin/ld: note: 'poptFreeContext@@LIBPOPT_0' is defined in DSO
/lib64/libpopt.so.0 so try adding it to the linker command line
/lib64/libpopt.so.0: could not read symbols: Invalid operation
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
(cherry picked from commit 5c36e1f8901a4baff2b51d81d87c2b577f84fef6)
-rw-r--r-- | Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 0729d8d53..f2daac197 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1467,6 +1467,7 @@ dp_opt_tests_CFLAGS = \ dp_opt_tests_LDADD = \ $(CMOCKA_LIBS) \ $(TALLOC_LIBS) \ + $(POPT_LIBS) \ $(SSSD_INTERNAL_LTLIBS) \ libsss_test_common.la |