logo 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/ext/logo/recognize/extconf.rb +7 -10
  2. metadata +2 -2
@@ -1,20 +1,17 @@
1
1
  require 'mkmf'
2
2
  require 'pkg-config'
3
3
 
4
- $CFLAGS << PKGConfig.cflags('opencv')
4
+ $CFLAGS << " #{PKGConfig.cflags('opencv')}"
5
5
 
6
- # unless $CFLAGS.gsub!(/ -O[\dsz]?/, ' -O3')
7
- # $CFLAGS << ' -O3'
8
- # end
9
-
10
- $CFLAGS << ' -g'
11
- $CFLAGS.gsub!(/-O\d+/,'')
6
+ unless $CFLAGS.gsub!(/ -O[\dsz]?/, ' -O3')
7
+ $CFLAGS << ' -O3'
8
+ end
12
9
 
13
10
  if CONFIG['CC'] =~ /gcc/
14
11
  $CFLAGS << ' -Wall'
15
- # if $DEBUG && !$CFLAGS.gsub!(/ -O[\dsz]?/, ' -O0 -ggdb')
16
- # $CFLAGS << ' -O0 -ggdb'
17
- # end
12
+ if $DEBUG && !$CFLAGS.gsub!(/ -O[\dsz]?/, ' -O0 -ggdb')
13
+ $CFLAGS << ' -O0 -ggdb'
14
+ end
18
15
  end
19
16
 
20
17
  dir_config("opencv", "/usr/local/include/opencv", "/usr/local/lib")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -110,7 +110,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
110
110
  version: '0'
111
111
  segments:
112
112
  - 0
113
- hash: -4149740615483867980
113
+ hash: -2516966878859114465
114
114
  required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  none: false
116
116
  requirements: