<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - llvm-config --system-libs prints .tbd files instead of .dylib"
href="https://bugs.llvm.org/show_bug.cgi?id=47226">47226</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>llvm-config --system-libs prints .tbd files instead of .dylib
</td>
</tr>
<tr>
<th>Product</th>
<td>tools
</td>
</tr>
<tr>
<th>Version</th>
<td>10.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Macintosh
</td>
</tr>
<tr>
<th>OS</th>
<td>MacOS X
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>llvm-config
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>kubkon@jakubkonka.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Running `llvm-config --system-libs` with current LLVM 10.0.1 on macOS Catalina
reports the following libraries:
```
-lz -lcurses -lm -llibxml2.tbd
```
instead of the expected:
```
-lz -lcurses -lm --lxml2
```
Out of curiosity, I checked what the output is in the current LLVM trunk, and
it's even worse, reporting:
```
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib/libcurses.tbd
-lm -llibz.tbd -llibxml2.tbd
```
For more discussion about this issue, please see the downstream issue at
<a href="https://github.com/ziglang/zig/issues/6087">https://github.com/ziglang/zig/issues/6087</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>