summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.in2
-rw-r--r--configure.in3
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 4b16d56a5..f43eab070 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -38,6 +38,8 @@ INSTALL_DATA = @INSTALL_DATA@
#
TARGETS = $(TARGET_LIB) apr.exp apr-config.out build/apr_rules.out
+LT_VERSION = @LT_VERSION@
+
# bring in rules.mk for standard functionality
@INCLUDE_RULES@
@INCLUDE_OUTPUTS@
diff --git a/configure.in b/configure.in
index c1059bdf1..a13e8ee54 100644
--- a/configure.in
+++ b/configure.in
@@ -199,7 +199,7 @@ AC_ARG_WITH(libtool, [ --without-libtool avoid using libtool to link the
if test "x$use_libtool" = "xyes"; then
lt_compile='$(LIBTOOL) $(LTFLAGS) --mode=compile $(COMPILE) -o $@ -c $< && touch $@'
LT_VERSION="-version-info `$get_version libtool $version_hdr APR`"
- link="\$(LIBTOOL) \$(LTFLAGS) --mode=link \$(LT_LDFLAGS) \$(COMPILE) ${LT_VERSION} \$(ALL_LDFLAGS) -o \$@"
+ link="\$(LIBTOOL) \$(LTFLAGS) --mode=link \$(LT_LDFLAGS) \$(COMPILE) \$(LT_VERSION) \$(ALL_LDFLAGS) -o \$@"
so_ext='lo'
lib_target='-rpath $(libdir) $(OBJECTS)'
export_lib_target='-rpath \$(libdir) \$(OBJECTS)'
@@ -227,6 +227,7 @@ AC_SUBST(export_lib_target)
AC_SUBST(shlibpath_var)
AC_SUBST(LTFLAGS)
AC_SUBST(LT_LDFLAGS)
+AC_SUBST(LT_VERSION)
dnl ----------------------------- Checks for compiler flags
nl='