diff options
author | E. Westbrook <git@westbrook.io> | 2020-03-27 18:41:57 -0600 |
---|---|---|
committer | Eric Westbrook <github@westbrook.io> | 2020-03-28 16:46:49 +0000 |
commit | 78a1657c7db5510ba66f8d4491f1e8e7370c5943 (patch) | |
tree | 639011ed350d89aa1d0d867f72e12802a40db27e /src | |
parent | 733af884f1aa18ff469bf3c4d18810e815853211 (diff) | |
download | luasocket-78a1657c7db5510ba66f8d4491f1e8e7370c5943.tar.gz luasocket-78a1657c7db5510ba66f8d4491f1e8e7370c5943.tar.bz2 luasocket-78a1657c7db5510ba66f8d4491f1e8e7370c5943.zip |
src/makefile: remove -DLUASOCKET_INET_PTON as current mingw builds don't want it
Diffstat (limited to 'src')
-rwxr-xr-x | src/makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makefile b/src/makefile index 5a9ba97..522d378 100755 --- a/src/makefile +++ b/src/makefile | |||
@@ -212,7 +212,7 @@ SOCKET_solaris=usocket.o | |||
212 | SO_mingw=dll | 212 | SO_mingw=dll |
213 | O_mingw=o | 213 | O_mingw=o |
214 | CC_mingw=gcc | 214 | CC_mingw=gcc |
215 | DEF_mingw= -DLUASOCKET_INET_PTON -DLUASOCKET_$(DEBUG) \ | 215 | DEF_mingw= -DLUASOCKET_$(DEBUG) \ |
216 | -DWINVER=0x0501 | 216 | -DWINVER=0x0501 |
217 | CFLAGS_mingw=$(LUAINC:%=-I%) $(DEF) -Wall -O2 -fno-common | 217 | CFLAGS_mingw=$(LUAINC:%=-I%) $(DEF) -Wall -O2 -fno-common |
218 | LDFLAGS_mingw= $(LUALIB) -shared -Wl,-s -lws2_32 -o | 218 | LDFLAGS_mingw= $(LUALIB) -shared -Wl,-s -lws2_32 -o |