parent
198422a475
commit
fb370510e7
|
@ -273,14 +273,14 @@ Variables for Building Programs
|
|||
|
||||
``LIBS``
|
||||
|
||||
To link dynamic libraries, add <tt>-l<library base name></tt> to the
|
||||
``LIBS`` variable. The LLVM build system will look in the same places for
|
||||
dynamic libraries as it does for static libraries.
|
||||
To link dynamic libraries, add ``-l<library base name>`` to the ``LIBS``
|
||||
variable. The LLVM build system will look in the same places for dynamic
|
||||
libraries as it does for static libraries.
|
||||
|
||||
For example, to link ``libsample.so``, you would have the following line in
|
||||
your ``Makefile``:
|
||||
|
||||
.. code-block: Makefile
|
||||
.. code-block:: Makefile
|
||||
|
||||
LIBS += -lsample
|
||||
|
||||
|
|
Loading…
Reference in New Issue