comparison ruby/rbdc/extconf.rb @ 6:80273969f043

- ruby binding path cleanup, previous version required bindings and dyncall be checked out in same parent directory
author cslag
date Sat, 26 Mar 2016 00:12:40 +0100
parents 5e159be89d73
children 02a455de2b40
comparison
equal deleted inserted replaced
5:bf5625bb6f05 6:80273969f043
24 #/////////////////////////////////////////////////////////////////////// 24 #///////////////////////////////////////////////////////////////////////
25 25
26 require 'mkmf' 26 require 'mkmf'
27 27
28 dir_config 'rbdc' 28 dir_config 'rbdc'
29 base_dir = '../../../dyncall/' 29 base_dir = 'dyncall/'
30 30
31 $CFLAGS << ' -I../../../dyncall/dyncall ' 31 $CFLAGS << ' -Idyncall/dyncall '
32 32
33 # Build dyncall libs. 33 # Build dyncall libs.
34 puts 'Building dyncall libraries:' 34 puts 'Building dyncall libraries:'
35 Dir.chdir(base_dir) do 35 Dir.chdir(base_dir) do
36 cmd = case 36 cmd = case