SCXI library LDFLAGS

Hello,

comedilib from CVS failed to compile on my Slackware 12.0 system (using gcc 4.1.2) when configured with --enable-scxi.

This could be a problem of my setup, I guess it would have been discovered before otherwise. Nevertheless, maybe you're interested in the following patch which fixed it for me.

Regards,
Tobias Blaser


diff -ru a/scxi/Makefile.am b/scxi/Makefile.am
--- a/scxi/Makefile.am	2007-08-17 23:06:19.000000000 +0200
+++ b/scxi/Makefile.am	2007-08-17 23:07:54.000000000 +0200
_at__at_ -10,4 +10,4 _at__at_
 libscxi_la_SOURCES = scxi.c
 libscxi_la_CFLAGS = $(COMEDILIB_CFLAGS) -D_REENTRANT
 libscxi_la_LDFLAGS = -release $(VERSION) -Wl
-libscxi_la_LIBADD = -lcomedi
+libscxi_la_LIBADD = -lcomedi -L../lib

Received on 2007-08-17Z21:55:52