ref: fcb84f5fb6104a3b1bdac820ef4a6d49b2941211
parent: 9a72378c344d3fef9d9f8fd961daf71b32f1bde4
parent: 1ad797a81e1acc81d260e38c5f01358ee1496a5e
author: Ethan Hugg <ethanhugg@gmail.com>
date: Mon Oct 27 06:01:41 EDT 2014
Merge pull request #1459 from tp-m/pkgconfig-install-fix Fix openh264.pc file installation
--- 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