shithub: openh264

Download patch

ref: 561027ebacd7cd28e1a22073fd7196ab99ce5d6e
parent: b1d8671bd43fd58e99aa341c0242edddf60971a1
author: Martin Storsjö <[email protected]>
date: Wed Feb 19 08:12:52 EST 2014

Install the import library as well, in MSVC builds

--- a/Makefile
+++ b/Makefile
@@ -130,6 +130,9 @@
 	mkdir -p $(PREFIX)/include/wels
 	install -m 644 $(LIBPREFIX)wels.$(LIBSUFFIX) $(PREFIX)/lib
 	install -m 755 $(LIBPREFIX)wels.$(SHAREDLIBSUFFIX) $(PREFIX)/lib
+ifneq ($(EXTRA_LIBRARY),)
+	install -m 644 $(EXTRA_LIBRARY) $(PREFIX)/lib
+endif
 	install -m 644 codec/api/svc/codec*.h $(PREFIX)/include/wels
 
 ifeq ($(HAVE_GTEST),Yes)
--- a/build/platform-msvc-common.mk
+++ b/build/platform-msvc-common.mk
@@ -16,3 +16,4 @@
 SHAREDLIBSUFFIX=dll
 SHARED=-LD
 SHLDFLAGS=-link -def:wels.def -implib:wels_dll.lib
+EXTRA_LIBRARY=wels_dll.lib