On Wednesday 07 March 2012 18:55:51 David C. Rankin wrote: [...] > LIBSANE_LIBS='-lsane > -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -L/usr/lib > -lnetsnmp -lcrypto -lm -ldl -lv4l1 -lm -ltiff -ljpeg -lgphoto2 > -lgphoto2_port -lm -lexif -lusb -lavahi-common -lavahi-client -lusb > ' > > LIBSANE_LDFLAGS='-L/usr/lib > -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu > -Wl,-rpath,/usr/lib' > > LIBSANE_INCLUDES='' > > I have no idea how '-lsane-Wl' is ending up crammed together. Any > thoughts from the gurus? cmake expects only a library list from sane-config. -- Serghei