Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
Lutro
Commits
d659aa38
Commit
d659aa38
authored
May 05, 2021
by
Jean-Andre Santoni
Browse files
Luasocket for windows
parent
29a80315
Pipeline
#23074
passed with stages
in 1 minute and 28 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.github/workflows/ci.yml
View file @
d659aa38
...
...
@@ -75,3 +75,9 @@ jobs:
-
uses
:
actions/checkout@v2
-
run
:
CC=gcc make -j4 platform=win config=player WANT_JIT=1
build_windows_luasocket
:
runs-on
:
windows-latest
steps
:
-
uses
:
actions/checkout@v2
-
run
:
CC=gcc make -j4 platform=win config=player WANT_LUASOCKET=1
Makefile.common
View file @
d659aa38
...
...
@@ -109,12 +109,13 @@ SOURCES_C += $(CORE_DIR)/deps/luasocket/libluasocket/auxiliar.c \
$(CORE_DIR)
/deps/luasocket/libluasocket/tcp.c
\
$(CORE_DIR)
/deps/luasocket/libluasocket/timeout.c
\
$(CORE_DIR)
/deps/luasocket/libluasocket/udp.c
\
$(CORE_DIR)
/deps/luasocket/libluasocket/unix.c
\
$(CORE_DIR)
/deps/luasocket/luasocket.c
ifeq
($(system_platform), unix)
SOURCES_C
+=
$(CORE_DIR)
/deps/luasocket/libluasocket/usocket.c
SOURCES_C
+=
$(CORE_DIR)
/deps/luasocket/libluasocket/usocket.c
\
$(CORE_DIR)
/deps/luasocket/libluasocket/unix.c
else
ifeq
($(system_platform), osx)
SOURCES_C
+=
$(CORE_DIR)
/deps/luasocket/libluasocket/usocket.c
$(CORE_DIR)/deps/luasocket/libluasocket/unix.c
else
SOURCES_C
+=
$(CORE_DIR)
/deps/luasocket/libluasocket/wsocket.c
endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment