mirror of
https://github.com/ruby-opencv/ruby-opencv
synced 2023-03-27 23:22:12 -04:00
fixed extconf.rb to build on Ruby 1.8.7
This commit is contained in:
parent
7cc8ebc5d3
commit
8ee5dc0892
1 changed files with 4 additions and 0 deletions
|
@ -71,5 +71,9 @@ else
|
|||
puts "http://www.haible.de/bruno/packages-ffcall.html"
|
||||
end
|
||||
|
||||
# Quick fix for 1.8.7
|
||||
$CFLAGS << "-I#{File.dirname(__FILE__)}/ext/opencv"
|
||||
|
||||
# step-final. create Makefile
|
||||
create_makefile("opencv", "./ext/opencv")
|
||||
|
||||
|
|
Loading…
Reference in a new issue