Software /
code /
prosody
Comparison
util-src/Makefile @ 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 |
parent | 536:dfe06eab47c0 |
child | 586:b828d7d47973 |
comparison
equal
deleted
inserted
replaced
536:dfe06eab47c0 | 537:c157c1412bda |
---|---|
20 rm -f ../util/*.so | 20 rm -f ../util/*.so |
21 | 21 |
22 encodings.o: encodings.c | 22 encodings.o: encodings.c |
23 gcc $(CFLAGS) -I$(LUA_INCDIR) -c -o encodings.o encodings.c | 23 gcc $(CFLAGS) -I$(LUA_INCDIR) -c -o encodings.o encodings.c |
24 encodings.so: encodings.o | 24 encodings.so: encodings.o |
25 export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc $(LFLAGS) -o encodings.so encodings.o -L/usr/local/lib -lcrypto -lidn | 25 export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc $(LFLAGS) -o encodings.so encodings.o -L/usr/local/lib -llua$(LUA_SUFFIX) -lcrypto -lidn |
26 | 26 |
27 | 27 |
28 hashes.o: hashes.c | 28 hashes.o: hashes.c |
29 gcc $(CFLAGS) -I$(LUA_INCDIR) -c -o hashes.o hashes.c | 29 gcc $(CFLAGS) -I$(LUA_INCDIR) -c -o hashes.o hashes.c |
30 hashes.so: hashes.o | 30 hashes.so: hashes.o |
31 export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc $(CFLAGS) -o hashes.so hashes.o -L/usr/local/lib -lcrypto -lssl | 31 export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc $(LFLAGS) -o hashes.so hashes.o -L/usr/local/lib -llua$(LUA_SUFFIX) -lcrypto -lssl |
32 | 32 |