Gave libscxi independent version info from libcomedi. Removed
attempt to link to libcomedi when building libscxi.
This commit is contained in:
parent
aa782ffee1
commit
1081d0ff02
3 changed files with 4 additions and 3 deletions
|
@ -23,6 +23,9 @@ AM_INIT_AUTOMAKE([-Wall -Werror])
|
|||
#
|
||||
# AS_LIBTOOL arguments are (prefix, current, revision, age)
|
||||
AS_LIBTOOL(COMEDILIB, 8, 0, 8)
|
||||
#libscxi c:r:a
|
||||
SCXI_SO_VERSION=8:0:8
|
||||
AC_SUBST(SCXI_SO_VERSION)
|
||||
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
|
||||
|
|
|
@ -22,7 +22,6 @@ libcomedi_la_LDFLAGS = -soname libcomedi \
|
|||
$(COMEDILIB_LT_LDFLAGS) \
|
||||
-Wl,--version-script=$(srcdir)/version_script
|
||||
|
||||
|
||||
$(srcdir)/calib_yacc.c $(srcdir)/calib_yacc.h: $(srcdir)/calib_yacc.y
|
||||
$(YACC) -d -p calib_yy -o $(srcdir)/calib_yacc.c $<
|
||||
|
||||
|
|
|
@ -9,5 +9,4 @@ endif
|
|||
|
||||
libscxi_la_SOURCES = scxi.c
|
||||
libscxi_la_CFLAGS = $(COMEDILIB_CFLAGS) -D_REENTRANT
|
||||
libscxi_la_LDFLAGS = -release $(VERSION) -Wl
|
||||
libscxi_la_LIBADD = -lcomedi
|
||||
libscxi_la_LDFLAGS = -version-info @SCXI_SO_VERSION@
|
||||
|
|
Loading…
Add table
Reference in a new issue