mirror of
https://github.com/lunarmodules/luasocket.git
synced 2025-06-07 04:14:22 +02:00
Compare commits
No commits in common. "c37e273d6811f9810dded340a27dc25c46aab2b8" and "47e5bd71a95a0a36ef5b02e5bf3af3fcab7a4409" have entirely different histories.
c37e273d68
...
47e5bd71a9
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -25,9 +25,8 @@ jobs:
|
|||||||
uses: luarocks/gh-actions-lua@v10
|
uses: luarocks/gh-actions-lua@v10
|
||||||
with:
|
with:
|
||||||
luaVersion: ${{ matrix.luaVersion }}
|
luaVersion: ${{ matrix.luaVersion }}
|
||||||
buildCache: false
|
|
||||||
- name: Setup ‘luarocks’
|
- name: Setup ‘luarocks’
|
||||||
uses: luau-project/gh-actions-luarocks@fix-mingw-MSVCRT
|
uses: luarocks/gh-actions-luarocks@v5
|
||||||
- name: Make and install
|
- name: Make and install
|
||||||
run: |
|
run: |
|
||||||
luarocks make -- luasocket-scm-3.rockspec
|
luarocks make -- luasocket-scm-3.rockspec
|
||||||
|
2
makefile
2
makefile
@ -10,7 +10,7 @@
|
|||||||
# print print the build settings
|
# print print the build settings
|
||||||
|
|
||||||
PLAT?= linux
|
PLAT?= linux
|
||||||
PLATS= macosx linux win32 win64 mingw freebsd solaris ucrt64
|
PLATS= macosx linux win32 win64 mingw freebsd solaris
|
||||||
|
|
||||||
all: $(PLAT)
|
all: $(PLAT)
|
||||||
|
|
||||||
|
27
src/makefile
27
src/makefile
@ -74,13 +74,6 @@ LUAPREFIX_mingw?=/usr
|
|||||||
CDIR_mingw?=lua/$(LUAV)
|
CDIR_mingw?=lua/$(LUAV)
|
||||||
LDIR_mingw?=lua/$(LUAV)/lua
|
LDIR_mingw?=lua/$(LUAV)/lua
|
||||||
|
|
||||||
# where lua headers are found for ucrt64 builds
|
|
||||||
# LUAINC_ucrt64:
|
|
||||||
LUAINC_ucrt64?=/ucrt64/include
|
|
||||||
LUALIB_ucrt64?=/ucrt64/bin/lua$(subst .,,$(LUAV)).dll
|
|
||||||
LUAPREFIX_ucrt64?=/ucrt64
|
|
||||||
CDIR_ucrt64?=lib/lua/$(LUAV)
|
|
||||||
LDIR_ucrt64?=share/lua/$(LUAV)
|
|
||||||
|
|
||||||
# LUAINC_win32:
|
# LUAINC_win32:
|
||||||
# LUALIB_win32:
|
# LUALIB_win32:
|
||||||
@ -160,7 +153,7 @@ print:
|
|||||||
#------
|
#------
|
||||||
# Supported platforms
|
# Supported platforms
|
||||||
#
|
#
|
||||||
PLATS= macosx linux win32 win64 mingw solaris ucrt64
|
PLATS= macosx linux win32 win64 mingw solaris
|
||||||
|
|
||||||
#------
|
#------
|
||||||
# Compiler and linker settings
|
# Compiler and linker settings
|
||||||
@ -226,21 +219,6 @@ LDFLAGS_mingw= $(LUALIB) -shared -Wl,-s -lws2_32 -o
|
|||||||
LD_mingw=gcc
|
LD_mingw=gcc
|
||||||
SOCKET_mingw=wsocket.o
|
SOCKET_mingw=wsocket.o
|
||||||
|
|
||||||
#------
|
|
||||||
# Compiler and linker settings
|
|
||||||
# for ucrt64
|
|
||||||
SO_ucrt64=dll
|
|
||||||
O_ucrt64=o
|
|
||||||
CC_ucrt64=gcc
|
|
||||||
DEF_ucrt64= -DLUASOCKET_$(DEBUG) \
|
|
||||||
-DWINVER=0x0501
|
|
||||||
CFLAGS_ucrt64= -I$(LUAINC) $(DEF) -Wall -O2 -fno-common
|
|
||||||
# \
|
|
||||||
-fvisibility=hidden
|
|
||||||
LDFLAGS_ucrt64= $(LUALIB) -shared -Wl,-s -lws2_32 -o
|
|
||||||
LD_ucrt64=gcc
|
|
||||||
SOCKET_ucrt64=wsocket.o
|
|
||||||
|
|
||||||
|
|
||||||
#------
|
#------
|
||||||
# Compiler and linker settings
|
# Compiler and linker settings
|
||||||
@ -406,9 +384,6 @@ linux:
|
|||||||
mingw:
|
mingw:
|
||||||
$(MAKE) all PLAT=mingw
|
$(MAKE) all PLAT=mingw
|
||||||
|
|
||||||
ucrt64:
|
|
||||||
$(MAKE) all PLAT=ucrt64
|
|
||||||
|
|
||||||
solaris:
|
solaris:
|
||||||
$(MAKE) all-unix PLAT=solaris
|
$(MAKE) all-unix PLAT=solaris
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user