shithub: openh264

Download patch

ref: 1ad797a81e1acc81d260e38c5f01358ee1496a5e
parent: 9a72378c344d3fef9d9f8fd961daf71b32f1bde4
author: Tim-Philipp Müller <[email protected]>
date: Mon Oct 27 12:22:58 EDT 2014

Fix openh264.pc file installation

If there's no pkgconfig subdirectory yet in our
install prefix, create it first, otherwise we'll
end up with a file called 'pkgconfig' instead.

--- a/Makefile
+++ b/Makefile
@@ -221,6 +221,7 @@
 install-shared: $(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIX) install-headers $(PROJECT_NAME).pc
 	mkdir -p $(PREFIX)/lib
 	install -m 755 $(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIX) $(PREFIX)/lib
+	mkdir -p $(PREFIX)/lib/pkgconfig
 	install -m 444 $(PROJECT_NAME).pc $(PREFIX)/lib/pkgconfig
 ifneq ($(EXTRA_LIBRARY),)
 	install -m 644 $(EXTRA_LIBRARY) $(PREFIX)/lib