Hi Vincent,

On 12:19 Mon 30 Sep     , Vincent Bernat wrote:
> For me, pcre-config --libs does not use `-L`. Dunno why this is the 
> case for Apollon.

My version of pcre-config (8.30, also tested with 8.31) includes:

libS=
if test ${prefix}/lib/x86_64-linux-gnu != /usr/lib ; then
  libS=-L${prefix}/lib/x86_64-linux-gnu
fi

So, it seems it tries to be smart, but is not multiarch aware (I'll open 
a bug against it). This would obviously work correctly in squeeze, 
except that the version in squeeze lacks even this simple test :-)

pkg-config on the other hand works better:

$ pkg-config --libs libpcre
-lpcre  

Apollon

Reply via email to