<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - meson incorrectly handles/reports libdrm_$foo"
href="https://bugs.freedesktop.org/show_bug.cgi?id=109062#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - meson incorrectly handles/reports libdrm_$foo"
href="https://bugs.freedesktop.org/show_bug.cgi?id=109062">bug 109062</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>time for i in `seq 1 100`; do
pkg-config --libs "libdrm_nouveau >= 2.4.20" &>/dev/null;
pkg-config --libs "libdrm >= 2.4.20" &>/dev/null;
done
real 0m0.738s
user 0m0.476s
sys 0m0.270s
time for i in `seq 1 100`; do
pkg-config --libs "libdrm >= 2.4.20" "libdrm_nouveau >= 2.4.20" &>/dev/null;
done
real 0m0.418s
user 0m0.298s
sys 0m0.123s
That said, I think meson should be extended and check 2+ packages via
pkg-config.
Adding workarounds in every project that uses meson doesn't scale :-(</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>