Skip to content

Commit

Permalink
Use a more commonly used directory name
Browse files Browse the repository at this point in the history
  • Loading branch information
k0kubun committed May 11, 2021
1 parent cc97887 commit 2aab45d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "third_party/libyaml"]
path = third_party/libyaml
[submodule "vendor/libyaml"]
path = vendor/libyaml
url = https://github.com/yaml/libyaml.git
4 changes: 2 additions & 2 deletions mrbgem.rake
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ MRuby::Gem::Specification.new('mruby-yaml') do |spec|

# But first, we generate the configure script. This requires GNU
# autoconf to be installed.
Dir.chdir(File.join(spec.dir, 'third_party', yaml_base_dir)) {
Dir.chdir(File.join(spec.dir, 'vendor', yaml_base_dir)) {
run_command({}, "./bootstrap")
}

FileUtils.cp_r File.join(spec.dir, 'third_party', yaml_base_dir), build_dir
FileUtils.cp_r File.join(spec.dir, 'vendor', yaml_base_dir), build_dir
end

if ! File.exists? "#{yaml_dir}/build/lib/libyaml.a"
Expand Down

0 comments on commit 2aab45d

Please sign in to comment.