[x264-devel] [PATCH 3/3] build: Install libdir in recipes that directly require it
Diego Biurrun
diego at biurrun.de
Sun Apr 27 22:54:01 CEST 2014
---
Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 80b36e8..5517546 100644
--- a/Makefile
+++ b/Makefile
@@ -230,11 +230,12 @@ install-cli: x264$(EXE)
$(INSTALL) $< $(DESTDIR)$(bindir)
install-lib-dev:
- $(INSTALL) -d $(DESTDIR)$(includedir) $(DESTDIR)$(libdir) $(DESTDIR)$(libdir)/pkgconfig
+ $(INSTALL) -d $(DESTDIR)$(includedir) $(DESTDIR)$(libdir)/pkgconfig
$(INSTALL) -m 644 $(SRCPATH)/x264.h x264_config.h $(DESTDIR)$(includedir)
$(INSTALL) -m 644 x264.pc $(DESTDIR)$(libdir)/pkgconfig
install-lib-static: lib-static install-lib-dev
+ $(INSTALL) -d $(DESTDIR)$(libdir)
$(INSTALL) -m 644 $(LIBX264) $(DESTDIR)$(libdir)
$(if $(RANLIB), $(RANLIB) $(DESTDIR)$(libdir)/$(LIBX264))
@@ -248,7 +249,7 @@ uninstall: uninstall-soname
endif
install-implib:
- $(INSTALL) -d $(DESTDIR)$(bindir)
+ $(INSTALL) -d $(DESTDIR)$(bindir) $(DESTDIR)$(libdir)
$(INSTALL) -m 755 $(SONAME) $(DESTDIR)$(bindir)
$(INSTALL) -m 644 $(IMPLIBNAME) $(DESTDIR)$(libdir)
--
1.8.3.2
More information about the x264-devel
mailing list