summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2010-03-05 01:59:01 +0000
committerPete Batard <pbatard@gmail.com>2010-03-05 01:59:01 +0000
commit14fb6e26224657a4c90f7f7b5ccc076d02446a50 (patch)
treee032bd08fe558d42eb3e41f9e2b48aeae51b55d9
parent842c719c2f21920b6af33035fb5280eea2c1efe6 (diff)
downloadlibusb-14fb6e26224657a4c90f7f7b5ccc076d02446a50.tar.gz
remove "-0" suffix for MinGW/cygwin generated DLLsr195
See "7.2 Libtool's versioning system" and "4.2 Link mode" of the GNU libtool documentation.
-rw-r--r--configure.ac10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index f2d977b..c56396c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,7 +43,7 @@ case $host in
threads="windows"
LIBS="-lsetupapi -lole32"
AM_CFLAGS="-Wshadow"
- AM_LDFLAGS="-no-undefined"
+ AM_LDFLAGS="-no-undefined -avoid-version"
;;
*-cygwin*)
AC_DEFINE(OS_WINDOWS, [], [Windows backend])
@@ -53,7 +53,7 @@ case $host in
threads="posix"
LIBS="-lpthread -lsetupapi -lole32"
AM_CFLAGS=""
- AM_LDFLAGS="-no-undefined"
+ AM_LDFLAGS="-no-undefined -avoid-version"
;;
*)
AC_MSG_ERROR([unsupported operating system])
@@ -65,9 +65,9 @@ AM_CONDITIONAL([OS_WINDOWS], [test "x$backend" == "xwindows"])
AM_CONDITIONAL([POSIX_THREADS], [test "x$threads" == "xposix"])
# Library versioning
-lt_major="0"
-lt_revision="0"
-lt_age="0"
+lt_major="1"
+lt_revision="2"
+lt_age="3"
AC_SUBST(lt_major)
AC_SUBST(lt_revision)
AC_SUBST(lt_age)