mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-26 04:28:20 +01:00
Merge pull request #263 from ewestbrook/freebsd-has-sun-len
src/makefile: enable UNIX_HAS_SUN_LEN for FreeBSD builds
This commit is contained in:
commit
57e04f55dc
@ -181,7 +181,7 @@ SOCKET_linux=usocket.o
|
|||||||
SO_freebsd=so
|
SO_freebsd=so
|
||||||
O_freebsd=o
|
O_freebsd=o
|
||||||
CC_freebsd=gcc
|
CC_freebsd=gcc
|
||||||
DEF_freebsd=-DLUASOCKET_$(DEBUG) \
|
DEF_freebsd=-DLUASOCKET_$(DEBUG) -DUNIX_HAS_SUN_LEN \
|
||||||
-DLUASOCKET_API='__attribute__((visibility("default")))' \
|
-DLUASOCKET_API='__attribute__((visibility("default")))' \
|
||||||
-DUNIX_API='__attribute__((visibility("default")))' \
|
-DUNIX_API='__attribute__((visibility("default")))' \
|
||||||
-DMIME_API='__attribute__((visibility("default")))'
|
-DMIME_API='__attribute__((visibility("default")))'
|
||||||
@ -360,7 +360,7 @@ linux:
|
|||||||
|
|
||||||
mingw:
|
mingw:
|
||||||
$(MAKE) all PLAT=mingw
|
$(MAKE) all PLAT=mingw
|
||||||
|
|
||||||
solaris:
|
solaris:
|
||||||
$(MAKE) all-unix PLAT=solaris
|
$(MAKE) all-unix PLAT=solaris
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user