Commit 7393745f authored by James Ralston's avatar James Ralston Committed by Niels Möller
Browse files

Fixed definitions using SHLIBMAJOR and SHLIBMINOR.

Also AC_SUBST SHLIBMAJOR and SHLIBMINOR. Reported by James
Ralston.

Rev: src/nettle/configure.ac:1.13
parent 46e6c7cc
...@@ -92,8 +92,8 @@ fi ...@@ -92,8 +92,8 @@ fi
SHLIBCFLAGS="-fpic" SHLIBCFLAGS="-fpic"
SHLIBFORLINK=libnettle.so SHLIBFORLINK=libnettle.so
SHLIBSONAME='$(SHLIBFORLINK).$(MAJOR)' SHLIBSONAME='$(SHLIBFORLINK).$(SHLIBMAJOR)'
SHLIBFILE='$(SHLIBSONAME).$(MINOR)' SHLIBFILE='$(SHLIBSONAME).$(SHLIBMINOR)'
SHLIBLINK='$(CC) $(LDFLAGS) -shared -Wl,-soname=$(SHLIBSONAME)' SHLIBLINK='$(CC) $(LDFLAGS) -shared -Wl,-soname=$(SHLIBSONAME)'
echo "enable_shared: $enable_shared" echo "enable_shared: $enable_shared"
...@@ -107,6 +107,8 @@ else ...@@ -107,6 +107,8 @@ else
fi fi
AC_SUBST(SHLIBCFLAGS) AC_SUBST(SHLIBCFLAGS)
AC_SUBST(SHLIBMAJOR)
AC_SUBST(SHLIBMINOR)
AC_SUBST(SHLIBFORLINK) AC_SUBST(SHLIBFORLINK)
AC_SUBST(SHLIBSONAME) AC_SUBST(SHLIBSONAME)
AC_SUBST(SHLIBFILE) AC_SUBST(SHLIBFILE)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment