Permalink
Browse files

Be more specific about building the module

  • Loading branch information...
1 parent 30eabe4 commit 028b34298c082746da058c24fd4247a7e34f504a @nmaier committed May 9, 2012
Showing with 10 additions and 2 deletions.
  1. +10 −2 docs/Readme.html
View
@@ -101,8 +101,16 @@
<h2>Installation</h2>
<ol>
<li>Grab the source.</li>
- <li>Compile and install<br />
- <code>apxs -cia mod_xsendfile.c</code></li>
+ <li>Compile and install
+ <ul>
+ <li>In general:<br/>
+ <code>apxs -cia mod_xsendfile.c</code></li>
+ <li>Debian/Ubuntu uses apxs2:<br/>
+ <code>apxs2 -cia mod_xsendfile.c</code></li>
+ <li>Mac users might want to build fat binaries:<br/>
+ <code>apxs -cia -Wc,"-arch i386 -arch x86_64" -Wl,"-arch i386 -arch x86_64" mod_xsendfile.c</code></li>
+ </ul>
+ </li>
<li>Restart apache</li>
<li>That's all.</li>
</ol>

0 comments on commit 028b342

Please sign in to comment.