Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
421c16b2
Commit
421c16b2
authored
Aug 08, 2013
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added -DLUA_USE_DLOPEN, and added mongoose.o: mod_lua.c
parent
3054a7f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
Makefile
Makefile
+6
-0
No files found.
Makefile
View file @
421c16b2
...
@@ -36,6 +36,10 @@ LUA_SOURCES = $(LUA)/lapi.c $(LUA)/lcode.c $(LUA)/lctype.c \
...
@@ -36,6 +36,10 @@ LUA_SOURCES = $(LUA)/lapi.c $(LUA)/lcode.c $(LUA)/lctype.c \
$(LUA)
/loadlib.c
$(LUA)
/linit.c
$(LUA)
/loadlib.c
$(LUA)
/linit.c
LUA_WINOBJS
=
$
(
LUA_SOURCES:%.c
=
%.obj
)
LUA_WINOBJS
=
$
(
LUA_SOURCES:%.c
=
%.obj
)
ifneq
($(OS),
Windows_NT)
LUA_FLAGS
+=
-DLUA_USE_DLOPEN
endif
# Stock windows binary builds with Lua and YASSL library.
# Stock windows binary builds with Lua and YASSL library.
YASSL
=
../cyassl-2.4.6
YASSL
=
../cyassl-2.4.6
YASSL_FLAGS
=
-I
$(YASSL)
-I
$(YASSL)
/cyassl
\
YASSL_FLAGS
=
-I
$(YASSL)
-I
$(YASSL)
/cyassl
\
...
@@ -98,6 +102,8 @@ lua.lib: $(LUA_WINOBJS)
...
@@ -98,6 +102,8 @@ lua.lib: $(LUA_WINOBJS)
linux_lua
:
$(ALL_OBJECTS)
linux_lua
:
$(ALL_OBJECTS)
$(CC)
$(ALL_OBJECTS)
-o
$(PROG)
-ldl
$(CC)
$(ALL_OBJECTS)
-o
$(PROG)
-ldl
mongoose.o
:
mod_lua.c
# Make sure that the compiler flags come last in the compilation string.
# Make sure that the compiler flags come last in the compilation string.
# If not so, this can break some on some Linux distros which use
# If not so, this can break some on some Linux distros which use
# "-Wl,--as-needed" turned on by default in cc command.
# "-Wl,--as-needed" turned on by default in cc command.
...
...
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