shithub: openh264

Download patch

ref: d92853c88ef42545b9d7f8342f41ebe4cda22610
parent: 17a87e80817120f1d45327ddaba231ca16ea5092
parent: fb33b359d5cc5c8cff0eb9958b62df65e238bf0f
author: Ethan Hugg <[email protected]>
date: Wed Jan 7 08:13:23 EST 2015

Merge pull request #1706 from mstorsjo/add-destdir-static

Add $(DESTDIR) for the install-static rule as well

--- a/Makefile
+++ b/Makefile
@@ -236,8 +236,8 @@
 	install -m 644 $(LIBPREFIX)$(PROJECT_NAME).$(LIBSUFFIX) $(DESTDIR)/$(PREFIX)/lib
 
 install-static: install-static-lib $(PROJECT_NAME)-static.pc
-	mkdir -p $(PREFIX)/lib/pkgconfig
-	install -m 644 $(PROJECT_NAME)-static.pc $(PREFIX)/lib/pkgconfig/$(PROJECT_NAME).pc
+	mkdir -p $(DESTDIR)/$(PREFIX)/lib/pkgconfig
+	install -m 644 $(PROJECT_NAME)-static.pc $(DESTDIR)/$(PREFIX)/lib/pkgconfig/$(PROJECT_NAME).pc
 
 install-shared: $(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIX) install-headers $(PROJECT_NAME).pc
 	mkdir -p $(DESTDIR)/$(SHAREDLIB_DIR)