@@ -10,8 +10,8 @@ let package = Package(
10
10
. target(
11
11
name: " Clibgit2 " ,
12
12
exclude: [
13
- " libgit2/deps/http-parser /CMakeLists.txt " ,
14
- " libgit2/deps/http-parser/COPYING " ,
13
+ " libgit2/deps/llhttp /CMakeLists.txt " ,
14
+ " libgit2/deps/llhttp/LICENSE-MIT " ,
15
15
" libgit2/deps/pcre/CMakeLists.txt " ,
16
16
" libgit2/deps/pcre/COPYING " ,
17
17
" libgit2/deps/pcre/LICENCE " ,
@@ -21,6 +21,7 @@ let package = Package(
21
21
" libgit2/deps/zlib/CMakeLists.txt " ,
22
22
" libgit2/deps/zlib/LICENSE " ,
23
23
" libgit2/src/libgit2/CMakeLists.txt " ,
24
+ " libgit2/src/libgit2/config.cmake.in " ,
24
25
" libgit2/src/libgit2/experimental.h.in " ,
25
26
" libgit2/src/libgit2/git2.rc " ,
26
27
" libgit2/src/util/CMakeLists.txt " ,
@@ -36,7 +37,7 @@ let package = Package(
36
37
" libgit2/src/util/win32 " ,
37
38
] ,
38
39
sources: [
39
- " libgit2/deps/http-parser " ,
40
+ " libgit2/deps/llhttp " ,
40
41
" libgit2/deps/pcre " ,
41
42
" libgit2/deps/xdiff " ,
42
43
" libgit2/deps/zlib " ,
@@ -54,13 +55,15 @@ let package = Package(
54
55
55
56
. headerSearchPath( " libgit2/src/libgit2 " ) ,
56
57
. headerSearchPath( " libgit2/src/util " ) ,
57
- . headerSearchPath( " libgit2/deps/http-parser " ) ,
58
+ . headerSearchPath( " libgit2/deps/llhttp " ) ,
58
59
. headerSearchPath( " libgit2/deps/pcre " ) ,
59
60
. headerSearchPath( " libgit2/deps/xdiff " ) ,
60
61
. headerSearchPath( " libgit2/deps/zlib " ) ,
61
62
62
63
. define( " LIBGIT2_NO_FEATURES_H " ) ,
63
64
. define( " GIT_ARCH_64 " ) ,
65
+ . define( " GIT_QSORT_BSD " ) ,
66
+ . define( " GIT_IO_POLL " ) ,
64
67
. define( " GIT_DEPRECATE_HARD " ) ,
65
68
66
69
. define( " GIT_THREADS " ) ,
@@ -75,6 +78,7 @@ let package = Package(
75
78
76
79
// HTTP
77
80
. define( " GIT_HTTPS " ) ,
81
+ . define( " GIT_HTTPPARSER_BUILTIN " ) ,
78
82
. define( " GIT_SECURE_TRANSPORT " ) ,
79
83
80
84
// PCRE
0 commit comments