summaryrefslogtreecommitdiffstats
path: root/package/atftp/0001-Makefile.am-link-against-libpthread-for-atftp.patch
diff options
context:
space:
mode:
authorRyan Barnett <ryan.barnett@rockwellcollins.com>2014-06-23 09:47:48 -0500
committerPeter Korsgaard <peter@korsgaard.com>2014-06-24 16:18:35 +0200
commit1f3669b477340204e2c4fb817d21989563cdb8c6 (patch)
treef860c69b9a1b52631c54b02ab539e81610dbf5e6 /package/atftp/0001-Makefile.am-link-against-libpthread-for-atftp.patch
parent0f6a872c8e70eb392588dd5fc1bdfaa07f31a2b8 (diff)
downloadbuildroot-1f3669b477340204e2c4fb817d21989563cdb8c6.tar.gz
buildroot-1f3669b477340204e2c4fb817d21989563cdb8c6.zip
atftp: new package
[Peter: note that readline is optional, drop trailing Config.in line] Signed-off-by: Ryan Barnett <ryan.barnett@rockwellcollins.com> CC: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/atftp/0001-Makefile.am-link-against-libpthread-for-atftp.patch')
-rw-r--r--package/atftp/0001-Makefile.am-link-against-libpthread-for-atftp.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/package/atftp/0001-Makefile.am-link-against-libpthread-for-atftp.patch b/package/atftp/0001-Makefile.am-link-against-libpthread-for-atftp.patch
new file mode 100644
index 0000000000..e879df5b3b
--- /dev/null
+++ b/package/atftp/0001-Makefile.am-link-against-libpthread-for-atftp.patch
@@ -0,0 +1,26 @@
+Makefile.am: link against libpthread for atftp
+
+atftp client needs to link against libpthread as static builds do not
+work otherwise.
+
+Signed-off-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>
+---
+ Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index e59592f..200829a 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -28,7 +28,7 @@ noinst_HEADERS = argz.h logger.h options.h stats.h tftp.h tftp_def.h tftp_io.h
+ tftpd.h tftpd_pcre.h tftpd_mtftp.h
+
+ bin_PROGRAMS = atftp
+-atftp_LDADD = $(LIBTERMCAP) $(LIBREADLINE)
++atftp_LDADD = $(LIBTERMCAP) $(LIBREADLINE) $(LIBPTHREAD)
+ atftp_SOURCES = tftp.c tftp_io.c logger.c options.c tftp_def.c tftp_file.c \
+ argz.c tftp_mtftp.c
+
+--
+1.9.1
+
OpenPOWER on IntegriCloud