Skip to content

Commit 0db3121

Browse files
authored
Merge pull request #47 from Edouard-chin/ec-make-it-work
Few fixes to make the packaged-tarball work
2 parents dd7f28d + 59fb3d1 commit 0db3121

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packaged_tarball/ext/packaged_tarball/extconf.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ def configure_packaged_libraries
2222
end
2323

2424
# use the packaged libyaml
25-
recipe.activate
2625
pkg_config(File.join(recipe.path, "lib", "pkgconfig", "yaml-0.1.pc"))
26+
recipe.activate
2727

2828
# assert that we can build against the packaged libyaml
2929
unless have_library("yaml", "yaml_get_version", "yaml.h")
@@ -42,6 +42,7 @@ def libyaml_recipe
4242
sha256: "c642ae9b75fee120b2d96c712538bd2cf283228d2337df2cf2988e3c02678ef4"
4343
}]
4444
recipe.target = File.join(PACKAGE_ROOT_DIR, "ports")
45+
recipe.host.gsub!(/^arm64-apple-darwin/, "aarch64-apple-darwin")
4546
end
4647
end
4748
end

0 commit comments

Comments
 (0)