From 1ad797a81e1acc81d260e38c5f01358ee1496a5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 27 Oct 2014 16:22:58 +0000 Subject: [PATCH] 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. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 4790c3c7..e615a3ab 100644 --- a/Makefile +++ b/Makefile @@ -221,6 +221,7 @@ install-static: $(LIBPREFIX)$(PROJECT_NAME).$(LIBSUFFIX) install-headers 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