Skip to content

Commit

Permalink
Shuffle the guts of the ELF/gcc librarian around.
Browse files Browse the repository at this point in the history
Also shuffle the guts of the MacOS/dylib librarian for symmetry
  • Loading branch information
Orc committed Jan 10, 2011
1 parent a2f46c6 commit 9dc73d4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions configure.inc
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 9dc73d4

Please sign in to comment.