diff options
-rw-r--r-- | docs/Projects.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/Projects.rst b/docs/Projects.rst index 5935aeb937..e5280fa580 100644 --- a/docs/Projects.rst +++ b/docs/Projects.rst @@ -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 |