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) ...@@ -130,8 +130,10 @@ MKDEP = $(CC) -M -MG $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
130 install-data-hook: 130 install-data-hook:
131 @here=`pwd`; \ 131 @here=`pwd`; \
132 cd $(DESTDIR)$(libdir);\ 132 cd $(DESTDIR)$(libdir);\
133 if test -f libmu_scm.so; then \ 133 if test -f libmu_scm.la; then \
134 $(LN_S) -f libmu_scm.so libguile-mailutils-v-$(VERSION).so; \ 134 dlname=`sed -n 's/dlname='\''\(.*\)'\''/\1/p' libmu_scm.la`; \
135 test -z "$dlname" && dlname='libmu_scm.so'; \
136 $(LN_S) -f "$$dlname" libguile-mailutils-v-$(VERSION).so; \
135 fi; \ 137 fi; \
136 cd $$here 138 cd $$here
137 139
......