mirror of
https://github.com/ruby-opencv/ruby-opencv
synced 2023-03-27 23:22:12 -04:00
fix #44
This commit is contained in:
parent
9fb5d6b840
commit
4433b47190
1 changed files with 7 additions and 0 deletions
|
@ -1,4 +1,11 @@
|
|||
#!/usr/bin/env ruby
|
||||
|
||||
CC = RbConfig::CONFIG['CC']
|
||||
if CC =~ /clang/
|
||||
RbConfig::MAKEFILE_CONFIG['try_header'] = :try_cpp
|
||||
RbConfig::CONFIG['CPP'] = "#{CC} -E"
|
||||
end
|
||||
|
||||
require "mkmf"
|
||||
|
||||
def cv_version_suffix(incdir)
|
||||
|
|
Loading…
Add table
Reference in a new issue