File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ def asplode lib
41
41
@libdir_basename = 'lib'
42
42
inc , lib = dir_config ( 'mysql' )
43
43
end
44
- abort "-----\n Cannot find include dir at #{ inc } \n -----" unless inc && File . directory? ( inc )
45
- abort "-----\n Cannot find library dir at #{ lib } \n -----" unless lib && File . directory? ( lib )
44
+ abort "-----\n Cannot find include dir(s) #{ inc } \n -----" unless inc && inc . split ( File :: PATH_SEPARATOR ) . any? { | dir | File . directory? ( dir ) }
45
+ abort "-----\n Cannot find library dir(s) #{ lib } \n -----" unless lib && lib . split ( File :: PATH_SEPARATOR ) . any? { | dir | File . directory? ( dir ) }
46
46
warn "-----\n Using --with-mysql-dir=#{ File . dirname inc } \n -----"
47
47
rpath_dir = lib
48
48
elsif mc = ( with_config ( 'mysql-config' ) || Dir [ GLOB ] . first )
You can’t perform that action at this time.
0 commit comments