Update documentation to reflect the default build options.

This commit is contained in:
Michael R Sweet 2024-03-04 08:14:23 -05:00
parent 9807af8df5
commit e54574aca7
No known key found for this signature in database
GPG Key ID: BE67C75EC81F3244
3 changed files with 4 additions and 4 deletions

View File

@ -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:

Binary file not shown.

View File

@ -433,8 +433,8 @@ span.string {
<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`