Changeset

537:c157c1412bda 0.1.0

Fix Makefile to link with Lua again
author Matthew Wild <mwild1@gmail.com>
date Wed, 03 Dec 2008 20:00:17 +0000
parents 536:dfe06eab47c0
children 538:26d000f25939
files util-src/Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/util-src/Makefile	Wed Dec 03 19:55:57 2008 +0000
+++ b/util-src/Makefile	Wed Dec 03 20:00:17 2008 +0000
@@ -22,11 +22,11 @@
 encodings.o: encodings.c
 	gcc $(CFLAGS) -I$(LUA_INCDIR) -c -o encodings.o encodings.c
 encodings.so: encodings.o
-	export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc $(LFLAGS) -o encodings.so encodings.o -L/usr/local/lib -lcrypto -lidn
+	export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc $(LFLAGS) -o encodings.so encodings.o -L/usr/local/lib -llua$(LUA_SUFFIX) -lcrypto -lidn
 	
 
 hashes.o: hashes.c
 	gcc $(CFLAGS) -I$(LUA_INCDIR) -c -o hashes.o hashes.c
 hashes.so: hashes.o
-	export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc $(CFLAGS) -o hashes.so hashes.o -L/usr/local/lib -lcrypto -lssl
+	export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc $(LFLAGS) -o hashes.so hashes.o -L/usr/local/lib -llua$(LUA_SUFFIX) -lcrypto -lssl