Skip to content

Commit

Permalink
Update documentation to reflect the default build options.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Mar 4, 2024
1 parent 9807af8 commit e54574a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions doc/body.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ Mini-XML provides a single header file which you include:
#include <mxml.h>
```

The Mini-XML library is included with your program using the `-lmxml` option:
The Mini-XML library is included with your program using the `-lmxml4` option:

gcc -o myprogram myprogram.c -lmxml
gcc -o myprogram myprogram.c -lmxml4

If you have the `pkg-config` software installed, you can use it to determine the
proper compiler and linker options for your installation:
Expand Down
Binary file modified doc/mxml.epub
Binary file not shown.
4 changes: 2 additions & 2 deletions doc/mxml.html
Original file line number Diff line number Diff line change
Expand Up @@ -433,8 +433,8 @@ <h2 class="title" id="using-mini-xml">Using Mini-XML</h2>
<p>Mini-XML provides a single header file which you include:</p>
<pre><code class="language-c"><span class="directive">#include &lt;mxml.h&gt;</span>
</code></pre>
<p>The Mini-XML library is included with your program using the <code>-lmxml</code> option:</p>
<pre><code>gcc -o myprogram myprogram.c -lmxml
<p>The Mini-XML library is included with your program using the <code>-lmxml4</code> option:</p>
<pre><code>gcc -o myprogram myprogram.c -lmxml4
</code></pre>
<p>If you have the <code>pkg-config</code> software installed, you can use it to determine the proper compiler and linker options for your installation:</p>
<pre><code>gcc `pkg-config --cflags mxml4` -o myprogram myprogram.c `pkg-config --libs mxml4`
Expand Down

0 comments on commit e54574a

Please sign in to comment.