<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/56895>56895</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Backport "[OpenMP] Only include CMAKE_DL_LIBS on unix platforms" to 15.x
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            release:backport
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          mstorsjo
      </td>
    </tr>
</table>

<pre>
    This fixes cross compiling the OpenMP runtimes to mingw targets on Fedora, with their custom-patched CMake.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxFUE1PhDAQ_TX00kig0AUOPey6bmLUaKJ3U2CAaqGkner6751FjUkzk8mbeR9tXf-lXiYT-GDOEHjnXaDq5tVYs4wcJ-CPKywPT9zHBc1MO-j4TNgnR-1HwMDdwk_QO68Tcc0_DU6XM-N5FwO6-WrV2E3Q8-sH_Q4pA5XvZCNzKfKM9arom6LRDA1aUAfdva_OI0-ESOThRzmRR_642C9uls7GHohof3fzerx_vb89PF_U42LOfLUaB-fnQLcXj7lMzyx6qybENSTFPhEneiP5i21KEWmw9uOvXa3evUGHNJoQIhDNSe7qRrJJaQmirrNikEMli15Uum51nVfFUOmhrRpmdQs2KLJM4h4s6ACk2P7G2dIcmVEiEyIjoqwWu7JJ666uSimGJi-hhKpPygxmbWx6MZQ6PzKvNm9tHAOB1gQM_6AOwYwLwKZL_Dri5Lya6dd9eHNsy6G2EN-9wJ9O">