]> git.ipfire.org Git - thirdparty/libnl.git/commitdiff
lib: Use @MAJ_VERSION and @MAJ_MINOR@ for -version-info
authorThomas Graf <tgraf@redhat.com>
Tue, 13 Sep 2011 09:47:39 +0000 (11:47 +0200)
committerThomas Graf <tgraf@redhat.com>
Tue, 13 Sep 2011 09:47:39 +0000 (11:47 +0200)
lib/Makefile.am

index cb5403f1e4196bd9e6d9bf4520fe67006176966c..90c98e9453c98ee63de2b41f39bb39ae020c740a 100644 (file)
@@ -1,7 +1,7 @@
 # -*- Makefile -*-
 
 AM_CPPFLAGS  = -Wall -I${top_srcdir}/include -I${top_builddir}/include -I${builddir}/route -I${builddir}/route/cls -D_GNU_SOURCE -DSYSCONFDIR=\"$(sysconfdir)/libnl\"
-AM_LDFLAGS = -version-info 3:1:0
+AM_LDFLAGS = -version-info @MAJ_VERSION@:@MIN_VERSION@:0
 
 lib_LTLIBRARIES = \
        libnl.la libnl-genl.la libnl-route.la libnl-nf.la