Permalink
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...
1 parent a2f46c6 commit 9dc73d409226e31a5793b43d1a4a1cadea9a6420 @Orc committed Jan 10, 2011
Showing with 6 additions and 4 deletions.
  1. +6 −4 configure.inc
View
@@ -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"

0 comments on commit 9dc73d4

Please sign in to comment.