Merge pull request #267 from white-gecko/patch-1

Fix the PHP section of the documentation to include both source files resp. object files in the example command lines (fixes#224)
This commit is contained in:
Olly Betts 2014-11-10 11:55:28 +13:00
commit 5617403d7e

View file

@ -136,8 +136,8 @@ least work for Linux though):
</p>
<div class="code"><pre>
gcc `php-config --includes` -fpic -c example_wrap.c
gcc -shared example_wrap.o -o example.so
gcc `php-config --includes` -fpic -c example_wrap.c example.c
gcc -shared example_wrap.o example.o -o example.so
</pre></div>
<H3><a name="Php_nn1_3"></a>34.1.2 Using PHP Extensions</H3>