summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2009-04-02 17:17:11 +0200
committerSimon Josefsson <simon@josefsson.org>2009-04-02 17:17:11 +0200
commit8a4fa1f2d90e1a0cb15f760e91acb5601ba137a1 (patch)
tree30fbf9bfd0f198dfda409b5307f826012612f68f /doc
parentab20cf481c19c7a240d3e27d556bafe281d17f5b (diff)
downloadgnulib-8a4fa1f2d90e1a0cb15f760e91acb5601ba137a1.tar.gz
ld-output-def.texi: Use DLL_VERSION.
Diffstat (limited to 'doc')
-rw-r--r--doc/ld-output-def.texi12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/ld-output-def.texi b/doc/ld-output-def.texi
index 3ad1feb547..8f9203930a 100644
--- a/doc/ld-output-def.texi
+++ b/doc/ld-output-def.texi
@@ -44,21 +44,21 @@ library:
@smallexample
if HAVE_LD_OUTPUT_DEF
-libfoo_la_LDFLAGS += -Wl,--output-def,libfoo-$(SOVERSION).def
+libfoo_la_LDFLAGS += -Wl,--output-def,libfoo-$(DLL_VERSION).def
defexecdir = $(bindir)
-defexec_DATA = libfoo-$(SOVERSION).def
+defexec_DATA = libfoo-$(DLL_VERSION).def
DISTCLEANFILES += $(defexec_DATA)
endif
@end smallexample
-The @code{SOVERSION} variable needs to be defined. It should be the
+The @code{DLL_VERSION} variable needs to be defined. It should be the
shared library version number used in the DLL filename. For Windows
targets you compute this value from the values you pass to Libtool's
@code{-version-info}. Assuming you have variables @code{LT_CURRENT}
and @code{LT_AGE} defined for the @code{CURRENT} and @code{AGE}
-libtool version integers, you compute @code{SOVERSION} as follows:
+libtool version integers, you compute @code{DLL_VERSION} as follows:
@smallexample
-SOVERSION=`expr $@{LT_CURRENT@} - $@{LT_AGE@}`
-AC_SUBST(SOVERSION)
+DLL_VERSION=`expr $@{LT_CURRENT@} - $@{LT_AGE@}`
+AC_SUBST(DLL_VERSION)
@end smallexample