Skip to content

Commit a233e5f

Browse files
committed
removed unneeded files + options
1 parent f876bac commit a233e5f

File tree

8 files changed

+29
-71
lines changed

8 files changed

+29
-71
lines changed

hlibgit2/Bindings/Libgit2/Attr.hsc.helper.c

Lines changed: 0 additions & 7 deletions
This file was deleted.

hlibgit2/Bindings/Libgit2/Blob.hsc.helper.c

Lines changed: 0 additions & 7 deletions
This file was deleted.

hlibgit2/Bindings/Libgit2/Commit.hsc.helper.c

Lines changed: 0 additions & 7 deletions
This file was deleted.

hlibgit2/Bindings/Libgit2/Common.hsc.helper.c

Lines changed: 0 additions & 4 deletions
This file was deleted.

hlibgit2/Bindings/Libgit2/Oid.hsc.helper.c

Lines changed: 0 additions & 5 deletions
This file was deleted.

hlibgit2/Bindings/Libgit2/Tag.hsc.helper.c

Lines changed: 0 additions & 6 deletions
This file was deleted.

hlibgit2/Bindings/Libgit2/Tree.hsc.helper.c

Lines changed: 0 additions & 6 deletions
This file was deleted.

hlibgit2/hlibgit2.cabal

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,24 @@ Build-Type: Simple
1010
Cabal-Version: >=1.10
1111
Category: FFI
1212

13-
-- Extra-source-files: -- TODO
14-
-- libgit2/deps/http-parser/*.h
15-
-- libgit2/include/git2.h
16-
-- libgit2/include/git2/*.h
17-
-- libgit2/src/*.h
18-
-- libgit2/src/hash/*.h
19-
-- libgit2/src/transports/*.h
20-
-- libgit2/src/unix/*.h
21-
-- libgit2/src/win32/*.h
22-
-- libgit2/src/xdiff/*.h
23-
-- libgit2/COPYING
13+
-- Extra-source-files:
14+
-- libgit2/include/git.h
15+
-- libgit2/src/libgit2/git2/*.h
16+
-- libgit2/src/libgit2/streams/*.h
17+
-- libgit2/src/libgit2/transports/*.h
18+
-- libgit2/src/util/*.h
19+
-- libgit2/src/util/allocators/*.h
20+
-- libgit2/src/util/hash/*.h
21+
-- libgit2/src/util/hash/sha1dc/*.h
22+
-- libgit2/src/util/hash/rfc6234/*.h
23+
-- libgit2/deps/http-parser/*.h
24+
-- libgit2/deps/xdiff/*.h
25+
-- libgit2/deps/pcre/*.h
26+
-- libgit2/deps/zlib/*.h
27+
-- libgit2/deps/winhttp/*.h
28+
-- libgit2/deps/ntlmclient/*.h
29+
-- libgit2/deps/chromium-zlib/*.h
30+
-- libgit2/COPYING
2431

2532
Source-repository head
2633
type: git
@@ -122,13 +129,6 @@ Library
122129
--Bindings.Libgit2.Worktree
123130

124131
c-sources:
125-
Bindings/Libgit2/Attr.hsc.helper.c
126-
Bindings/Libgit2/Blob.hsc.helper.c
127-
Bindings/Libgit2/Commit.hsc.helper.c
128-
Bindings/Libgit2/Common.hsc.helper.c
129-
Bindings/Libgit2/Oid.hsc.helper.c
130-
Bindings/Libgit2/Tag.hsc.helper.c
131-
Bindings/Libgit2/Tree.hsc.helper.c
132132
libgit2/src/util/futils.c
133133
libgit2/src/util/wildmatch.c
134134
libgit2/src/util/posix.c
@@ -304,22 +304,21 @@ Library
304304
include-dirs:
305305
libgit2/include
306306
libgit2/src/libgit2
307-
libgit2/src/libgit2/streams
308-
libgit2/src/libgit2/transports
307+
--libgit2/src/libgit2/streams
308+
--libgit2/src/libgit2/transports
309309
libgit2/src/util
310-
libgit2/src/util/allocators
311-
libgit2/src/util/hash
312-
libgit2/src/util/hash/sha1dc
313-
libgit2/src/util/hash/rfc6234
310+
--libgit2/src/util/allocators
311+
--libgit2/src/util/hash
312+
--libgit2/src/util/hash/sha1dc
313+
--libgit2/src/util/hash/rfc6234
314314
libgit2/deps/http-parser
315315
libgit2/deps/xdiff
316316
libgit2/deps/pcre
317-
libgit2/deps/zlib
318-
libgit2/deps/winhttp
317+
--libgit2/deps/zlib
319318
libgit2/deps/ntlmclient
320-
libgit2/deps/chromium-zlib
319+
--libgit2/deps/chromium-zlib
321320

322-
cc-options: -DGIT_THREADS -D_FILE_OFFSET_BITS=64 -DGIT_SSL -Wno-format -Wno-format-security -Wno-incompatible-pointer-types
321+
cc-options: -Wno-incompatible-pointer-types
323322
if os(windows)
324323
cpp-options: -DWINDOWS
325324
cc-options: -DGIT_WIN32 -DWIN32 -DWIN32_SHA1 -D_DEBUG -D_WIN32_WINNT=0x0501 -DGIT_WINHTTP
@@ -339,10 +338,11 @@ Library
339338
libgit2/src/util/hash/win32.c
340339
include-dirs:
341340
libgit2/src/util/win32
341+
libgit2/deps/winhttp
342342
extra-libraries:
343343
ws2_32, regex, winhttp, crypt32, rpcrt4, ssl, crypto
344344
else
345-
cc-options: -D_GNU_SOURCE -DOPENSSL_SHA1 -Wno-deprecated-declarations
345+
cc-options: -Wno-deprecated-declarations
346346
if os(darwin)
347347
c-sources:
348348
libgit2/src/util/hash/common_crypto.c

0 commit comments

Comments
 (0)