<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#c29">Comment # 29</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:emil.l.velikov@gmail.com" title="Emil Velikov <emil.l.velikov@gmail.com>"> <span class="fn">Emil Velikov</span></a>
</span></b>
        <pre>OK so it seems that, on relink, libtool prepends an extra -L or two prior to
-L/opt/lib thus gcc/ld might end up finding the system library thus never
bothers searching in /opt/lib. The extra -L can be seen when one invokes $ make
V=1 ..

It smells like a bug in libtool, despite the response I got on IRC (va at
#autotools) that libtool is correct here. Cannot find any hints, neither did
he/she mention anything to support that statement :'( The search continues...

Guys can you attach the glx hunk of $ make V=1 && make V=1 install, with the
patch in <a href="show_bug.cgi?id=80848#c27">comment 27</a>.
Additionally can you add the last ~15 lines of libtool --help

Thanks
Emil</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>