Minor fix
* libmu_scm/Makefile.am (install-data-hook): Make sure libguile-mailutils links to the versioned .so file.
Showing
1 changed file
with
4 additions
and
2 deletions
... | @@ -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 | ... | ... |
-
Please register or sign in to post a comment