summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorDRC <dcommander@users.sourceforge.net>2010-10-01 09:31:44 +0000
committerDRC <dcommander@users.sourceforge.net>2010-10-01 09:31:44 +0000
commit2e0b9654bbf5323348139ac2717c9a5a01974ce5 (patch)
tree148175aab920be993992057736c7e00312d40043 /release
parentf79eb27b5301214b506f2de1caf6c5109772dc01 (diff)
downloadtigervnc-2e0b9654bbf5323348139ac2717c9a5a01974ce5.tar.gz
tigervnc-2e0b9654bbf5323348139ac2717c9a5a01974ce5.zip
Support linking statically with GnuTLS on OS X
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4158 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'release')
-rw-r--r--release/BUILDING.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/release/BUILDING.txt b/release/BUILDING.txt
index bfacbffd..4dc84412 100644
--- a/release/BUILDING.txt
+++ b/release/BUILDING.txt
@@ -165,6 +165,29 @@ Add
to the configure command line. The OS X 10.4 SDK must be installed.
+Building VeNCrypt support on OS X
+---------------------------------
+
+VeNCrypt requires GnuTLS, which is not available on OS X systems by default.
+However, it can be obtained from MacPorts (http://www.macports.org/). The
+easiest way to build TigerVNC using this version of GnuTLS is simply to
+modify the CPATH and LIBRARY_PATH environment variables to include /opt/local,
+i.e.:
+
+export CPATH=/opt/local/include
+export LIBRARY_PATH=/opt/local/lib
+
+and then build TigerVNC as you would normally. However, this produces run-time
+dependencies on the .dylib files in /opt/local/lib. To statically link with
+GnuTLS, add the following monstrosity to the configure command line:
+
+ GNUTLS_CFLAGS=-I/opt/local/include \
+ GNUTLS_LDFLAGS='/opt/local/lib/libgnutls.a /opt/local/lib/libgcrypt.a \
+ /opt/local/lib/libgpg-error.a /opt/local/lib/libz.a \
+ /opt/local/lib/libtasn1.a /opt/local/lib/libiconv.a \
+ /opt/local/lib/libintl.a -framework CoreFoundation'
+
+
*******************************************************************************
** Creating Release Packages
*******************************************************************************