shithub: openh264

Download patch

ref: 9b59e502920dcc1b593d29914460b61276b8add7
parent: a48b632aed13528f8448fb75f2d4f816fd79b2f0
author: Martin Storsjö <martin@martin.st>
date: Mon Dec 1 09:26:41 EST 2014

Simplify creating output directories for the install-shared rule

--- a/Makefile
+++ b/Makefile
@@ -230,8 +230,7 @@
 	install -m 644 $(LIBPREFIX)$(PROJECT_NAME).$(LIBSUFFIX) $(PREFIX)/lib
 
 install-shared: $(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIX) install-headers $(PROJECT_NAME).pc
-	mkdir -p $(PREFIX)/lib
-	mkdir -p $(PREFIX)/bin
+	mkdir -p $(SHAREDLIB_DIR)
 	install -m 755 $(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIXVER) $(SHAREDLIB_DIR)
 	if [ "$(SHAREDLIBSUFFIXVER)" != "$(SHAREDLIBSUFFIX)" ]; then \
 		cp -a $(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIX) $(SHAREDLIB_DIR); \