Commit 496bdf72 496bdf7228403ee3e571280891e76e7cb5fd7ca7 by Sergey Poznyakoff

Minor fix

* libmu_scm/Makefile.am (install-data-hook): Make sure
libguile-mailutils links to the versioned .so file.
1 parent 3bacf09e
......@@ -130,8 +130,10 @@ MKDEP = $(CC) -M -MG $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
install-data-hook:
@here=`pwd`; \
cd $(DESTDIR)$(libdir);\
if test -f libmu_scm.so; then \
$(LN_S) -f libmu_scm.so libguile-mailutils-v-$(VERSION).so; \
if test -f libmu_scm.la; then \
dlname=`sed -n 's/dlname='\''\(.*\)'\''/\1/p' libmu_scm.la`; \
test -z "$dlname" && dlname='libmu_scm.so'; \
$(LN_S) -f "$$dlname" libguile-mailutils-v-$(VERSION).so; \
fi; \
cd $$here
......