Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
9f81a37a
Commit
9f81a37a
authored
Mar 16, 2011
by
Vicent Marti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Define NO_GZIP in zconf.h instead of at compile time
parent
36aaf1ff
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
6 deletions
+1
-6
CMakeLists.txt
+0
-3
deps/zlib/zconf.h
+1
-0
wscript
+0
-3
No files found.
CMakeLists.txt
View file @
9f81a37a
...
...
@@ -75,9 +75,6 @@ FILE(GLOB SRC_SHA1 src/block-sha1/*.c)
FILE
(
GLOB SRC_PLAT src/unix/*.c
)
FILE
(
GLOB SRC_H include/git2/*.h
)
# Do not build Zlib with GZIP support
ADD_DEFINITIONS
(
-DNO_GZIP
)
# On Windows use specific platform sources
IF
(
WIN32 AND NOT CYGWIN
)
ADD_DEFINITIONS
(
-DWIN32 -D_DEBUG -D_LIB
)
...
...
deps/zlib/zconf.h
View file @
9f81a37a
...
...
@@ -10,6 +10,7 @@
#include "../../src/common.h"
#define NO_GZIP
#define STDC
/* Jeez, don't complain about non-prototype
...
...
wscript
View file @
9f81a37a
...
...
@@ -61,9 +61,6 @@ def configure(conf):
conf.env.PLATFORM = 'unix'
conf.check_cc(lib='pthread', uselib_store='pthread')
# Do not build ZLib with GZIP support
conf.env.DEFINES += ['NO_GZIP']
# check for sqlite3
if conf.options.use_sqlite and conf.check_cc(
lib='sqlite3', uselib_store='sqlite3', install_path=None, mandatory=False):
...
...
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