03.12.2012 16:02, Jakub Hrozek kirjoitti:
> On Sat, Dec 01, 2012 at 11:57:32AM +0200, Timo Aaltonen wrote:
>>
>> sssd fails to build on current ubuntu devel series possibly due to
>> some updated build-dependency which used to be overlinked so that
>> sss_ssh_knownhostsproxy no longer gets -lpthread in it's LDFLAGS.
> 
> Thank you for the patch, Timo! It seems that the same should be done for
> sss_ssh_authorizedkeys as well, can you amend your patch so we fix both
> cases at the same time?

Sure, attached a new version.


>From 21dcfe656272c8b455827cc7956220b7cb1eac03 Mon Sep 17 00:00:00 2001
From: Timo Aaltonen <[email protected]>
Date: Sat, 1 Dec 2012 11:45:10 +0200
Subject: [PATCH] link sss_ssh_authorizedkeys and sss_ssh_knownhostsproxy with
 -lpthread

There used to be an overlinked dependency that's gone now, so
to fix a build error add CLIENT_LIBS to sss_ssh_knownhostsproxy_LDFLAGS.

v2:
Fix sss_ssh_authorizedkeys linking as well.
---
 Makefile.am |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index ce3f94f..9945fde 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -761,6 +761,7 @@ sss_ssh_authorizedkeys_SOURCES = \
 sss_ssh_authorizedkeys_CFLAGS = $(AM_CFLAGS)
 sss_ssh_authorizedkeys_LDADD = \
     libsss_util.la
+sss_ssh_authorizedkeys_LDFLAGS = $(CLIENT_LIBS)
 
 sss_ssh_knownhostsproxy_SOURCES = \
     src/sss_client/common.c \
@@ -769,6 +770,7 @@ sss_ssh_knownhostsproxy_SOURCES = \
 sss_ssh_knownhostsproxy_CFLAGS = $(AM_CFLAGS)
 sss_ssh_knownhostsproxy_LDADD = \
     libsss_util.la
+sss_ssh_knownhostsproxy_LDFLAGS = $(CLIENT_LIBS)
 endif
 
 #################
-- 
1.7.10.4

_______________________________________________
sssd-devel mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/sssd-devel

Reply via email to