FORCE_SHARED_LIB

  • Revision slug: FORCE_SHARED_LIB
  • Revision title: FORCE_SHARED_LIB
  • Revision id: 148408
  • Created:
  • Creator: Benjamin Smedberg
  • Is current revision? No
  • Comment no wording changes; page display name changed to 'FORCE_SHARED_LIB'

Revision Content

Revision Source

<p><code>FORCE_SHARED_LIB</code> tells the build system that a library or component should always be a shared library, even in a static build.</p>
<h3 id="Set_By" name="Set_By">Set By</h3>
<p>Tree makefiles set <code>FORCE_SHARED_LIB</code> before including <code><a href="/en/Config.mk" title="en/Config.mk">config.mk</a></code> or <code><a href="/en/Rules.mk" title="en/Rules.mk">rules.mk</a></code>.</p>
<h3 id="Notes" name="Notes">Notes</h3>
<p>If <code><a href="/en/EXPORT_LIBRARY" title="en/EXPORT_LIBRARY">EXPORT_LIBRARY</a></code> is set, <code>FORCE_SHARED_LIB</code> should not be set.</p>
<h3 id="See_Also" name="See_Also">See Also</h3>
<ul> <li><a href="/en/Building_a_component_DLL" title="en/Building_a_component_DLL">Building a component DLL</a></li> <li><a href="/en/Building_a_dynamic_library" title="en/Building_a_dynamic_library">Building a dynamic library</a></li>
</ul>
Revert to this revision