summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authoriarspider <iarspider@gmail.com>2022-11-05 03:00:16 +0100
committerGitHub <noreply@github.com>2022-11-05 02:00:16 +0000
commit9becc82dfcfd7b61a1bf17a92c3a9f101b01ea3b (patch)
tree2826a1599db036e7dc327f713edf22e39037a722 /lib
parentd7cb790f8836f5beaa7196173c6f8987cc964c71 (diff)
downloadspack-9becc82dfcfd7b61a1bf17a92c3a9f101b01ea3b.tar.gz
spack-9becc82dfcfd7b61a1bf17a92c3a9f101b01ea3b.tar.bz2
spack-9becc82dfcfd7b61a1bf17a92c3a9f101b01ea3b.tar.xz
spack-9becc82dfcfd7b61a1bf17a92c3a9f101b01ea3b.zip
Fix formatting in packaging guide (#33714)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/docs/packaging_guide.rst13
1 files changed, 3 insertions, 10 deletions
diff --git a/lib/spack/docs/packaging_guide.rst b/lib/spack/docs/packaging_guide.rst
index b618497497..2ceb4ce051 100644
--- a/lib/spack/docs/packaging_guide.rst
+++ b/lib/spack/docs/packaging_guide.rst
@@ -4406,16 +4406,9 @@ In addition to invoking the right compiler, the compiler wrappers add
flags to the compile line so that dependencies can be easily found.
These flags are added for each dependency, if they exist:
-Compile-time library search paths
-* ``-L$dep_prefix/lib``
-* ``-L$dep_prefix/lib64``
-
-Runtime library search paths (RPATHs)
-* ``$rpath_flag$dep_prefix/lib``
-* ``$rpath_flag$dep_prefix/lib64``
-
-Include search paths
-* ``-I$dep_prefix/include``
+* Compile-time library search paths: ``-L$dep_prefix/lib``, ``-L$dep_prefix/lib64``
+* Runtime library search paths (RPATHs): ``$rpath_flag$dep_prefix/lib``, ``$rpath_flag$dep_prefix/lib64``
+* Include search paths: ``-I$dep_prefix/include``
An example of this would be the ``libdwarf`` build, which has one
dependency: ``libelf``. Every call to ``cc`` in the ``libdwarf``