From: Kay Sievers Date: Wed, 30 Jul 2008 12:45:43 +0000 (+0200) Subject: volume_id: move static lib to $prefix X-Git-Tag: 174~1647 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4cf46e2c02934e08844cb4b849e022aaca04d34a;p=systemd volume_id: move static lib to $prefix --- diff --git a/extras/volume_id/lib/Makefile.am b/extras/volume_id/lib/Makefile.am index de37f9e8..592b3909 100644 --- a/extras/volume_id/lib/Makefile.am +++ b/extras/volume_id/lib/Makefile.am @@ -53,8 +53,9 @@ libvolume_id_la_LDFLAGS = \ install-data-hook: rm $(DESTDIR)$(rootlibdir)/libvolume_id.la if test "$(prefix)" != "$(exec_prefix)"; then \ - rm $(DESTDIR)$(rootlibdir)/libvolume_id.so; \ mkdir -p $(DESTDIR)$(prefix)/$(libdir_name); \ + mv $(DESTDIR)$(rootlibdir)/libvolume_id.a $(DESTDIR)$(prefix)/$(libdir_name)/; \ + rm $(DESTDIR)$(rootlibdir)/libvolume_id.so; \ ln -sf $(rootlibdir)/libvolume_id.so.$(VOLID_LT_CURRENT).$(VOLID_LT_AGE).$(VOLID_LT_REVISION) \ $(DESTDIR)$(prefix)/$(libdir_name)/libvolume_id.so; \ fi