From: Kay Sievers Date: Mon, 23 Apr 2007 15:44:19 +0000 (+0200) Subject: libvolume_id: do not install static library X-Git-Tag: 174~1995 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=285e2f52186c9462a0d3ae1aca94077ea3ddfc63;p=systemd libvolume_id: do not install static library --- diff --git a/extras/volume_id/lib/Makefile b/extras/volume_id/lib/Makefile index 5ad9f2e5..9858fb02 100644 --- a/extras/volume_id/lib/Makefile +++ b/extras/volume_id/lib/Makefile @@ -102,8 +102,8 @@ libvolume_id.pc: install: all $(INSTALL_DATA) -D libvolume_id.h $(DESTDIR)$(includedir)/libvolume_id.h - $(INSTALL_LIB) -D libvolume_id.a $(DESTDIR)$(usrlibdir)/libvolume_id.a $(INSTALL_LIB) -D $(SHLIB) $(DESTDIR)$(libdir)/$(SHLIB) + mkdir -p $(DESTDIR)$(usrlibdir)/ ln -sf $(SHLIB) $(DESTDIR)$(libdir)/libvolume_id.so.$(SHLIB_CUR) ln -sf $(libdir)/$(SHLIB) $(DESTDIR)$(usrlibdir)/libvolume_id.so $(INSTALL_DATA) -D libvolume_id.pc $(DESTDIR)$(usrlibdir)/pkgconfig/libvolume_id.pc