Bug#727058: cups-config: please filter -L/usr/lib/(triplet)
package: libcups2-dev
version: 1.6.3-1
Hi,
On amd64 cups-config --ldflags currently return
-L/usr/lib/x86_64-linux-gnu
This should be filtered out. The code in cups-config that adds it is not
multiarch-aware:
if test $libdir != /usr/lib -a $libdir != /usr/lib32 -a $libdir != /usr/lib64; then
LDFLAGS="$LDFLAGS -L$libdir"
fi
This caused build failures in samba, which were fixed by adding a wrapper that
filters the output of cups-config (bug 726726).
Cheers,
Ivo
Reply to: