diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-07-30 14:45:43 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-07-30 14:45:43 +0200 |
commit | 4cf46e2c02934e08844cb4b849e022aaca04d34a (patch) | |
tree | 065fb4683e11bd10e2afa3e3323f918a73a84a58 /extras/volume_id/lib/Makefile.am | |
parent | 47b0c350952116cb09130cf02f172aa12a37f829 (diff) |
volume_id: move static lib to $prefix
Diffstat (limited to 'extras/volume_id/lib/Makefile.am')
-rw-r--r-- | extras/volume_id/lib/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extras/volume_id/lib/Makefile.am b/extras/volume_id/lib/Makefile.am index de37f9e8b8..592b390987 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 |