adium-1.4 2888:7fff8467bfdd: Compile with zlib so facebookchat c...

commits at adium.im commits at adium.im
Sat Dec 12 18:32:58 UTC 2009


details:	http://hg.adium.im/adium-1.4/rev/7fff8467bfdd
revision:	2888:7fff8467bfdd
author:		Zachary West <zacw at adium.im>
date:		Sat Dec 12 13:32:29 2009 -0500

Compile with zlib so facebookchat compresses itself up the wazoo (upwards of 75%).

diffs (19 lines):

diff -r 265b253782b1 -r 7fff8467bfdd Utilities/dep-build-scripts/purple_make.sh
--- a/Utilities/dep-build-scripts/purple_make.sh	Tue Dec 08 10:40:06 2009 -0600
+++ b/Utilities/dep-build-scripts/purple_make.sh	Sat Dec 12 13:32:29 2009 -0500
@@ -87,13 +87,13 @@
 	cp $SOURCEDIR/cyrus-sasl-2.1.18/include/*.h $TARGET_DIR/include/sasl
 	
 	#Note that whether we use openssl or cdsa the same underlying workarounds (as seen in jabber.c, only usage at present 12/07) are needed
-	export CFLAGS="$BASE_CFLAGS -arch $ARCH -I$TARGET_DIR/include  -I$TARGET_DIR/include/json-glib-1.0 -I$SDK_ROOT/usr/include/kerberosIV -DHAVE_SSL -DHAVE_OPENSSL -fno-common "
+	export CFLAGS="$BASE_CFLAGS -arch $ARCH -I$TARGET_DIR/include  -I$TARGET_DIR/include/json-glib-1.0 -I$SDK_ROOT/usr/include/kerberosIV -DHAVE_SSL -DHAVE_OPENSSL -fno-common -DHAVE_ZLIB"
 	
 	if [ "$DEBUG_SYMBOLS" = "TRUE" ] ; then
 		export CFLAGS="$CFLAGS -gdwarf-2 -g3" 
 	fi
 	
-	export LDFLAGS="$BASE_LDFLAGS -L$TARGET_DIR/lib -arch $ARCH -lsasl2 -ljson-glib-1.0"
+	export LDFLAGS="$BASE_LDFLAGS -L$TARGET_DIR/lib -arch $ARCH -lsasl2 -ljson-glib-1.0 -lz"
 	export PKG_CONFIG="$TARGET_DIR_BASE-$ARCH/bin/pkg-config"
 	export MSGFMT="`which msgfmt`"
 	




More information about the commits mailing list