URL: https://github.com/freeipa/freeipa/pull/1311
Author: tiran
 Title: #1311: [Backport][ipa-4-6] libotp: add libraries after objects
Action: opened

PR body:
"""
This PR was opened automatically because PR #1305 was pushed to master and 
backport to ipa-4-6 is required.
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1311/head:pr1311
git checkout pr1311
From 07c77f96dd2d147194e307dab850ba7228bd67aa Mon Sep 17 00:00:00 2001
From: Christian Heimes <chei...@redhat.com>
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 <chei...@redhat.com>
---
 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 e7525f3075..eb4494d7ac 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)
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org

Reply via email to