Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
ede9884c
Commit
ede9884c
authored
10 years ago
by
Guenter Knauf
Browse files
Options
Downloads
Patches
Plain Diff
Added MinGW support to build with nghttp2.
parent
226e6143
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/Makefile.m32
+12
-0
12 additions, 0 deletions
lib/Makefile.m32
src/Makefile.m32
+11
-0
11 additions, 0 deletions
src/Makefile.m32
with
23 additions
and
0 deletions
lib/Makefile.m32
+
12
−
0
View file @
ede9884c
...
...
@@ -42,6 +42,10 @@ endif
ifndef
LDAP_SDK
LDAP_SDK
=
c:/novell/ndk/cldapsdk/win32
endif
# Edit the path below to point to the base of your nghttp2 package.
ifndef
NGHTTP2_PATH
NGHTTP2_PATH
=
../../nghttp2-0.6.4
endif
PROOT
=
..
...
...
@@ -147,6 +151,9 @@ ifeq ($(findstring -winssl,$(CFG)),-winssl)
WINSSL
=
1
SSPI
=
1
endif
ifeq
($(findstring -nghttp2,$(CFG)),-nghttp2)
NGHTTP2
=
1
endif
INCLUDES
=
-I. -I../include
CFLAGS
+=
-DBUILDING_LIBCURL
...
...
@@ -166,6 +173,11 @@ ifdef RTMP
CFLAGS
+=
-DUSE_LIBRTMP
DLL_LIBS
+=
-L"
$(
LIBRTMP_PATH
)
/librtmp" -lrtmp -lwinmm
endif
ifdef
NGHTTP2
INCLUDES
+=
-I"
$(
NGHTTP2_PATH
)
/include"
CFLAGS
+=
-DUSE_NGHTTP2
DLL_LIBS
+=
-L"
$(
NGHTTP2_PATH
)
/lib" -lnghttp2
endif
ifdef
SSH2
INCLUDES
+=
-I"
$(
LIBSSH2_PATH
)
/include" -I"
$(
LIBSSH2_PATH
)
/win32"
CFLAGS
+=
-DUSE_LIBSSH2 -DHAVE_LIBSSH2_H
...
...
This diff is collapsed.
Click to expand it.
src/Makefile.m32
+
11
−
0
View file @
ede9884c
...
...
@@ -54,6 +54,10 @@ endif
ifndef
LDAP_SDK
LDAP_SDK
=
c:/novell/ndk/cldapsdk/win32
endif
# Edit the path below to point to the base of your nghttp2 package.
ifndef
NGHTTP2_PATH
NGHTTP2_PATH
=
../../nghttp2-0.6.4
endif
PROOT
=
..
...
...
@@ -161,6 +165,9 @@ ifeq ($(findstring -winssl,$(CFG)),-winssl)
WINSSL
=
1
SSPI
=
1
endif
ifeq
($(findstring -nghttp2,$(CFG)),-nghttp2)
NGHTTP2
=
1
endif
INCLUDES
=
-I. -I../include -I../lib
...
...
@@ -188,6 +195,10 @@ ifdef RTMP
CFLAGS
+=
-DUSE_LIBRTMP
curl_LDADD
+=
-L"
$(
LIBRTMP_PATH
)
/librtmp" -lrtmp -lwinmm
endif
ifdef
NGHTTP2
CFLAGS
+=
-DUSE_NGHTTP2
curl_LDADD
+=
-L"
$(
NGHTTP2_PATH
)
/lib" -lnghttp2
endif
ifdef
SSH2
CFLAGS
+=
-DUSE_LIBSSH2 -DHAVE_LIBSSH2_H
curl_LDADD
+=
-L"
$(
LIBSSH2_PATH
)
/win32" -lssh2
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment