aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Waldemar Brodkorb <wbx@openadk.org>2016-11-25 19:00:16 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-11-28 22:25:14 +0100
commit114f5a9310744c2ce5dcc1d254d443d172b25a42 (patch)
tree118606d88493794cf901f3b1c0b5d14c5b33d5d8
parente64ee501a0c8a8700c9a5f0e03e2f6979a0f810d (diff)
downloadbuildroot-114f5a9310744c2ce5dcc1d254d443d172b25a42.tar.gz
buildroot-114f5a9310744c2ce5dcc1d254d443d172b25a42.tar.bz2
autossh: honour LDFLAGS
Fixes: http://autobuild.buildroot.net/results/08a458572a2e9c599dd32b837b1e5c02a6721973 Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/autossh/0001-honour-LDFLAGS.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/autossh/0001-honour-LDFLAGS.patch b/package/autossh/0001-honour-LDFLAGS.patch
new file mode 100644
index 0000000000..2e6160b8fd
--- /dev/null
+++ b/package/autossh/0001-honour-LDFLAGS.patch
@@ -0,0 +1,16 @@
+Honour LDFLAGS, especially required when static linking
+
+Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
+
+diff -Nur autossh-1.4e.orig/Makefile.in autossh-1.4e/Makefile.in
+--- autossh-1.4e.orig/Makefile.in 2015-02-10 05:41:58.000000000 +0100
++++ autossh-1.4e/Makefile.in 2016-11-25 12:49:06.052122855 +0100
+@@ -31,7 +31,7 @@
+
+
+ $(TARGET): $(OFILES)
+- $(CC) $(CPPFLAGS) -o $(TARGET) $(OFILES) $(LIBS)
++ $(CC) $(CPPFLAGS) $(LDFLAGS) -o $(TARGET) $(OFILES) $(LIBS)
+
+ clean:
+ - /bin/rm -f *.o *.a *.core *~