diff options
author | Waqas Hussain <waqas20@gmail.com> | 2008-11-27 21:49:31 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2008-11-27 21:49:31 +0500 |
commit | f33e9646043c0a00f6d6f03fcdde9726d7123581 (patch) | |
tree | 5233127875130cabf7810d8dd493671b927b2109 /util-src/Makefile | |
parent | 2fdb13c54d3257984b8e1e6885d5f7c6d5580f18 (diff) | |
download | prosody-f33e9646043c0a00f6d6f03fcdde9726d7123581.tar.gz prosody-f33e9646043c0a00f6d6f03fcdde9726d7123581.zip |
Makefile now works on windows with Microsoft's compiler
Diffstat (limited to 'util-src/Makefile')
-rw-r--r-- | util-src/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/util-src/Makefile b/util-src/Makefile index 28dc88fa..205e51d2 100644 --- a/util-src/Makefile +++ b/util-src/Makefile @@ -1,4 +1,8 @@ +!IFDEF WINDIR +!INCLUDE Makefile.win +!ELSE + LUA_INCLUDE=/usr/include/lua5.1 LUA_LIB=lua5.1 @@ -22,3 +26,4 @@ encodings.so: encodings.c hashes.so: hashes.c gcc -shared hashes.c -I$(LUA_INCLUDE) -l$(LUA_LIB) -l$(OPENSSL_LIB) -o hashes.so +!ENDIF |