]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Update IMAP build documentation.
authorLeif Madsen <leif@leifmadsen.com>
Mon, 14 Dec 2009 17:05:01 +0000 (17:05 +0000)
committerLeif Madsen <leif@leifmadsen.com>
Mon, 14 Dec 2009 17:05:01 +0000 (17:05 +0000)
Update the IMAP build documentation to show how to build on 64-bit
platforms.

(issue #16433)
Reported by: shrift
Tested by: lmadsen

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@234615 65c4cc65-6c06-0410-ace0-fbb531ad65f3

doc/imapstorage.txt

index f9b3ce39d201dfc7159859313524574c1b56edf4..5c601278ddb945e639768ba4947b635dd4e2fc82 100644 (file)
@@ -58,7 +58,7 @@ toolkit at all. If you want to also install the UW IMAPD server, that
 is outside the scope of this document.
 
 Building the c-client library is fairly straightforward; for example, on a
-Debian system there are two possibilities:
+Debian system there are a few possibilities:
 
 1) if you will not be using SSL to connect to the IMAP server:
    $ make slx SSLTYPE=none
@@ -66,6 +66,16 @@ Debian system there are two possibilities:
 2) if you will be using SSL to connect to the IMAP server:
    $ make slx EXTRACFLAGS="-I/usr/include/openssl"
 
+Additionally, you may wish to build on a 64-bit machine, in which case you
+need to add -fPIC to EXTRACFLAGS. So, building on a 64-bit machine with
+SSL support would look something like:
+
+$ make slx EXTRACFLAGS="-fPIC -I/usr/include/openssl"
+
+Or without SSL support:
+
+$ make slx SSLTYPE=none EXTRACFLAGS=-fPIC
+
 Once this completes you can proceed with the Asterisk build; there is no
 need to run 'make install'.