From 4cf46e2c02934e08844cb4b849e022aaca04d34a Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Wed, 30 Jul 2008 14:45:43 +0200 Subject: [PATCH] volume_id: move static lib to $prefix --- extras/volume_id/lib/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5