Skip to content

Commit 028b342

Browse files
committed
Be more specific about building the module
1 parent 30eabe4 commit 028b342

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

docs/Readme.html

+10-2
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,16 @@ <h3>Benefits</h3>
101101
<h2>Installation</h2>
102102
<ol>
103103
<li>Grab the source.</li>
104-
<li>Compile and install<br />
105-
<code>apxs -cia mod_xsendfile.c</code></li>
104+
<li>Compile and install
105+
<ul>
106+
<li>In general:<br/>
107+
<code>apxs -cia mod_xsendfile.c</code></li>
108+
<li>Debian/Ubuntu uses apxs2:<br/>
109+
<code>apxs2 -cia mod_xsendfile.c</code></li>
110+
<li>Mac users might want to build fat binaries:<br/>
111+
<code>apxs -cia -Wc,"-arch i386 -arch x86_64" -Wl,"-arch i386 -arch x86_64" mod_xsendfile.c</code></li>
112+
</ul>
113+
</li>
106114
<li>Restart apache</li>
107115
<li>That's all.</li>
108116
</ol>

0 commit comments

Comments
 (0)