From 987b28811c9519000df3e88421072f1d8f80a249 Mon Sep 17 00:00:00 2001 From: Alan Wu Date: Wed, 15 Oct 2025 17:12:00 -0400 Subject: [PATCH] Darwin: Fix build on development versions of ruby Without this, requiring the native extension fails with: dlsym(0x6cf51c20, ruby_abi_version): symbol not found - ruby_abi_version Development versions of ruby require this symbol to be present in native extensions. See: https://github.com/ruby/ruby/commit/3df16924b45adfd88c20ef5fe25b10a1acb82dd7 --- ext/zstdruby/exports.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/zstdruby/exports.txt b/ext/zstdruby/exports.txt index f1607c0..f2e3f30 100644 --- a/ext/zstdruby/exports.txt +++ b/ext/zstdruby/exports.txt @@ -1 +1,2 @@ -_Init_zstdruby \ No newline at end of file +_Init_zstdruby +_ruby_abi_version