e879df5b3bde1ec26f2c3208066a291dbea4f2ac
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / atftp / 0001-Makefile.am-link-against-libpthread-for-atftp.patch
1 Makefile.am: link against libpthread for atftp
2
3 atftp client needs to link against libpthread as static builds do not
4 work otherwise.
5
6 Signed-off-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>
7 ---
8  Makefile.am | 2 +-
9  1 file changed, 1 insertion(+), 1 deletion(-)
10
11 diff --git a/Makefile.am b/Makefile.am
12 index e59592f..200829a 100644
13 --- a/Makefile.am
14 +++ b/Makefile.am
15 @@ -28,7 +28,7 @@ noinst_HEADERS   = argz.h logger.h options.h stats.h tftp.h tftp_def.h tftp_io.h
16                    tftpd.h tftpd_pcre.h tftpd_mtftp.h
17  
18  bin_PROGRAMS     = atftp
19 -atftp_LDADD      = $(LIBTERMCAP) $(LIBREADLINE)
20 +atftp_LDADD      = $(LIBTERMCAP) $(LIBREADLINE) $(LIBPTHREAD)
21  atftp_SOURCES    = tftp.c tftp_io.c logger.c options.c tftp_def.c tftp_file.c \
22                    argz.c tftp_mtftp.c
23  
24 -- 
25 1.9.1
26