From 40c98383aa374eee6598972c2fa40edebbc77f39 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Mon, 20 Nov 2017 11:22:49 +0100 Subject: [PATCH] libotp: add libraries after objects Add dependency on external libraries after dependency on internal objects so the linker can correctly pick up all symbols. https://pagure.io/freeipa/issue/7189 Original patch by Rob Crittenden Signed-off-by: Christian Heimes Reviewed-By: Alexander Bokovoy --- daemons/ipa-slapi-plugins/libotp/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemons/ipa-slapi-plugins/libotp/Makefile.am b/daemons/ipa-slapi-plugins/libotp/Makefile.am index e7525f307..eb4494d7a 100644 --- a/daemons/ipa-slapi-plugins/libotp/Makefile.am +++ b/daemons/ipa-slapi-plugins/libotp/Makefile.am @@ -15,4 +15,4 @@ libotp_la_LIBADD = libhotp.la check_PROGRAMS = t_hotp TESTS = $(check_PROGRAMS) -t_hotp_LDADD = $(NSPR_LIBS) $(NSS_LIBS) libhotp.la +t_hotp_LDADD = libhotp.la $(NSPR_LIBS) $(NSS_LIBS)