From 0a17a7a87a1a3bb3745f8b1643d170dc7a66ea6c Mon Sep 17 00:00:00 2001
From: Yuta NAKAI <nak5124@live.jp>
Date: Sat, 11 Apr 2015 12:19:19 +0900
Subject: [PATCH 3/5] Makefile: On windows, install import library.

---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 65d68cc..0f4c6c5 100644
--- a/Makefile
+++ b/Makefile
@@ -159,6 +159,7 @@ install-lib: $(OUT_LIB) dcadec.pc
 	install -d -m 755 $(DESTDIR)$(LIBDIR) $(DESTDIR)$(LIBDIR)/pkgconfig $(DESTDIR)$(INCLUDEDIR)/libdcadec
 ifneq ($(and $(CONFIG_WINDOWS),$(CONFIG_SHARED)),)
 	install -m 755 $(OUT_LIB) $(DESTDIR)$(BINDIR)
+	install -m 644 $(IMP_LIB) $(DESTDIR)$(LIBDIR)
 else
 	install -m 644 $(OUT_LIB) $(DESTDIR)$(LIBDIR)
 endif
-- 
2.4.3

