trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

Re: [trinity-devel] tdegraphics build failure 2 : libkscan.so (linker error?)

From: Serghei Amelian <serghei@...>
Date: Wed, 7 Mar 2012 19:08:51 +0200
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