I'm quite sure it is the other way around.
LIBS should contain -l and full path to libraries only. LDFLAGS
should contain -L and (-rpath|+r|-R) (and maybe some other).
On some platforms (At least HPUX), it is required that the -L options
are before the -l options. I believe the standard require LDFLAGS to
be placed before LIBS when running ld, to make it run on any platform.
BTW: What is linker flag -s?
-- ##> Petter Reinholdtsen <## | pere@td.org.uit.no
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com