added a -release option for libtool, so it names the library with
authorFrank Mori Hess <fmhess@speakeasy.net>
Wed, 3 Sep 2003 02:59:00 +0000 (02:59 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Wed, 3 Sep 2003 02:59:00 +0000 (02:59 +0000)
the version instead of libcomedi-0.0.0.so

lib/Makefile.am

index cf67dd4bc01aa4428e06068bab54c67b195ccd72..75c1116710853c4183f78c95952cb809bc5ca268 100644 (file)
@@ -15,7 +15,7 @@ libcomedi_la_SOURCES = \
        calib_lex.c calib_yacc.c
 
 libcomedi_la_CFLAGS = $(COMEDILIB_CFLAGS) -D_REENTRANT -DLOCALSTATEDIR=\"\$(localstatedir)\"
-libcomedi_la_LDFLAGS = -Wl,--version-script=$(srcdir)/version_script
+libcomedi_la_LDFLAGS = -release $(VERSION) -Wl,--version-script=$(srcdir)/version_script
 
 calib_yacc.c + calib_yacc.h: $(srcdir)/calib_yacc.y
        $(YACC) -d -p calib_yy -o $@ $<