Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Shuffle the guts of the ELF/gcc librarian around.

Also shuffle the guts of the MacOS/dylib librarian for symmetry
  • Loading branch information...
commit 9dc73d409226e31a5793b43d1a4a1cadea9a6420 1 parent a2f46c6
david parsons authored
Showing with 6 additions and 4 deletions.
  1. +6 −4 configure.inc
View
10 configure.inc
@@ -1207,13 +1207,14 @@ AC_CC_SHLIBS () {
ACTION=\$1; shift
LIBRARY=\$1; shift
-LIBNAME=\$LIBRARY.so
-FULLNAME="\$LIBNAME.\$VERSION"
eval \`awk -F. '{ printf "MAJOR=%d\n", \$1;
printf "VERSION=%d.%d.%d\n", \$1, \$2, \$3; }' \$1\`
shift
+LIBNAME=\$LIBRARY.so
+FULLNAME=\$LIBNAME.\$VERSION
+
case "\$ACTION" in
make) FLAGS="$AC_CFLAGS -shared"
unset VFLAGS
@@ -1249,13 +1250,14 @@ EOF
ACTION=\$1; shift
LIBRARY=\$1; shift
-LIBNAME=\$LIBRARY.dylib
-FULLNAME="\$LIBNAME"
eval \`awk -F. '{ printf "MAJOR=%d\n", \$1;
printf "VERSION=%d.%d.%d\n", \$1, \$2, \$3; }' \$1\`
shift
+LIBNAME=\$LIBRARY.dylib
+FULLNAME=\$LIBNAME
+
case "\$ACTION" in
make) FLAGS="$AC_CFLAGS -dynamiclib"
VFLAGS="-current_version \$VERSION -compatibility_version \$MAJOR"
Please sign in to comment.
Something went wrong with that request. Please try again.