<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [dri3] Building mesa fails with dri3 enabled"
href="https://bugs.freedesktop.org/show_bug.cgi?id=80848#c12">Comment # 12</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [dri3] Building mesa fails with dri3 enabled"
href="https://bugs.freedesktop.org/show_bug.cgi?id=80848">bug 80848</a>
from <span class="vcard"><a class="email" href="mailto:juhapekka.heikkila@gmail.com" title="Juha-Pekka Heikkilä <juhapekka.heikkila@gmail.com>"> <span class="fn">Juha-Pekka Heikkilä</span></a>
</span></b>
<pre>I did look bit more into this. I notice at linking stage there is no /opt/lib
in LIBRARY_PATH nor in "sys_lib_search_path_spec" inside libtool. So
PKG_CONFIG_PATH allowed to find correct headers for compile time but not
correct libraries for linking time. :/
I fixed this with "PKG_CONFIG_PATH=/opt/lib/pkgconfig CFLAGS=-L/opt/lib
CXXFLAGS=-L/opt/lib" on my autogen line and it seemed to work for me, I can
compile with dri3 enabled again.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>