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
0db96c5b
Commit
0db96c5b
authored
Nov 29, 2010
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make it possible to set SSL_LIB and CRYPTO_LIB during build
parent
e9776287
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
Makefile
Makefile
+2
-0
mongoose.c
mongoose.c
+4
-0
No files found.
Makefile
View file @
0db96c5b
...
@@ -14,6 +14,8 @@ all:
...
@@ -14,6 +14,8 @@ all:
# -DNO_SSL - disable SSL functionality (-2kb)
# -DNO_SSL - disable SSL functionality (-2kb)
# -DCONFIG_FILE=\"file\" - use `file' as the default config file
# -DCONFIG_FILE=\"file\" - use `file' as the default config file
# -DHAVE_STRTOUI64 - use system strtoui64() function for strtoull()
# -DHAVE_STRTOUI64 - use system strtoui64() function for strtoull()
# -DSSL_LIB=\"libssl.so.<version>\" - use system versioned SSL shared object
# -DCRYPTO_LIB=\"libcrypto.so.<version>\" - use system versioned CRYPTO so
##########################################################################
##########################################################################
...
...
mongoose.c
View file @
0db96c5b
...
@@ -181,9 +181,13 @@ typedef struct DIR {
...
@@ -181,9 +181,13 @@ typedef struct DIR {
#define SSL_LIB "libssl.dylib"
#define SSL_LIB "libssl.dylib"
#define CRYPTO_LIB "libcrypto.dylib"
#define CRYPTO_LIB "libcrypto.dylib"
#else
#else
#if !defined(SSL_LIB)
#define SSL_LIB "libssl.so"
#define SSL_LIB "libssl.so"
#endif
#if !defined(CRYPTO_LIB)
#define CRYPTO_LIB "libcrypto.so"
#define CRYPTO_LIB "libcrypto.so"
#endif
#endif
#endif
#define DIRSEP '/'
#define DIRSEP '/'
#define IS_DIRSEP_CHAR(c) ((c) == '/')
#define IS_DIRSEP_CHAR(c) ((c) == '/')
#define O_BINARY 0
#define O_BINARY 0
...
...
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