--- /dev/null
+From 294bcde1afa0b3866f339f82709e867d827cea6c Mon Sep 17 00:00:00 2001
+From: Max Filippov <jcmvbkbc@gmail.com>
+Date: Mon, 14 Mar 2016 07:28:56 +0300
+Subject: [PATCH] make install-static do install-pkgconfig as install-elf does
+
+...so that install-static installs everything needed for linking with
+slang. This fixes e.g. the following mc build:
+
+ http://autobuild.buildroot.net/results/085/085194f18bc7db1e801d98e6620e3a75fd988cc5/build-end.log
+
+Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
+---
+ autoconf/Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/autoconf/Makefile.in b/autoconf/Makefile.in
+index a6defa6..ca1ffb2 100644
+--- a/autoconf/Makefile.in
++++ b/autoconf/Makefile.in
+@@ -74,7 +74,7 @@ clean:
+ cd modules; $(MAKE) clean
+ cd slsh; $(MAKE) clean
+ cd demo; $(MAKE) clean
+-install-static:
++install-static: install-pkgconfig
+ cd src; $(MAKE) install-static
+ cd slsh; $(MAKE) install-static
+ install-pkgconfig: slang.pc
+--
+2.1.4
+