ref: 80beaed5c67c21551021e11883af028b1a78649d
parent: 8f7e10ab124ed01bfefcd11ff1dab7e9d7be7490
author: Martin Storsjö <martin@martin.st>
date: Mon Dec 1 09:07:34 EST 2014
Fix the dependencies of the install-shared target Previously calling "make install" failed unless the target actually already was built, for platforms where the shared libraries are versioned.
--- a/Makefile
+++ b/Makefile
@@ -227,7 +227,7 @@
mkdir -p $(PREFIX)/lib
install -m 644 $(LIBPREFIX)$(PROJECT_NAME).$(LIBSUFFIX) $(PREFIX)/lib
-install-shared: $(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIX) install-headers $(PROJECT_NAME).pc
+install-shared: $(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIXVER) install-headers $(PROJECT_NAME).pc
mkdir -p $(PREFIX)/lib
mkdir -p $(PREFIX)/bin
install -m 755 $(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIX) $(PREFIX)/lib