rugged 0.26.0b4 → 0.26.0b5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/rugged/extconf.rb +4 -1
- data/lib/rugged/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b927352d26a826277bd5f866ee6e8f0b5704379d
|
4
|
+
data.tar.gz: 3df1c9b13364f823dee2891e932e082e6bdd3bfd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 082321e079c24fe51c612390093fa5ebe7115cf42f155bd59a6e91beefe97502dc37921642e2f8b8752f2f9ccc4896aa1e5fd9b202ddbdb061147b995dc845f9
|
7
|
+
data.tar.gz: 9d083d266fa2682af1c0bbc5349efbfe71a6be588276fd7918749488b029dcab3d33991bda61c4af29220c085ceeb66c6c83d0dbb0021494a9efbee7b4a10286
|
data/ext/rugged/extconf.rb
CHANGED
@@ -12,6 +12,9 @@ $CFLAGS << " -g"
|
|
12
12
|
$CFLAGS << " -O3" unless $CFLAGS[/-O\d/]
|
13
13
|
$CFLAGS << " -Wall -Wno-comment"
|
14
14
|
|
15
|
+
cmake_flags = [ ENV["CMAKE_FLAGS"] ]
|
16
|
+
cmake_flags << "-DUSE_SHA1DC=ON" if with_config("sha1dc")
|
17
|
+
|
15
18
|
def sys(cmd)
|
16
19
|
puts " -- #{cmd}"
|
17
20
|
unless ret = xsystem(cmd)
|
@@ -77,7 +80,7 @@ else
|
|
77
80
|
Dir.chdir("build") do
|
78
81
|
# On Windows, Ruby-DevKit is MSYS-based, so ensure to use MSYS Makefiles.
|
79
82
|
generator = "-G \"MSYS Makefiles\"" if Gem.win_platform?
|
80
|
-
sys("cmake .. -DBUILD_CLAR=OFF -DTHREADSAFE=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS=-fPIC -DCMAKE_BUILD_TYPE=RelWithDebInfo #{
|
83
|
+
sys("cmake .. -DBUILD_CLAR=OFF -DTHREADSAFE=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_C_FLAGS=-fPIC -DCMAKE_BUILD_TYPE=RelWithDebInfo #{cmake_flags.join(' ')} #{generator}")
|
81
84
|
sys(MAKE)
|
82
85
|
|
83
86
|
# "normal" libraries (and libgit2 builds) get all these when they build but we're doing it
|
data/lib/rugged/version.rb
CHANGED