Skip to content

Commit

Permalink
Add support for OpenBSD. Closes #315 (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
vtamara authored Mar 5, 2025
1 parent 84aa942 commit 68b0d43
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions ext/pg_query/ext_symbols_openbsd.sym
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Init_pg_query
2 changes: 2 additions & 0 deletions ext/pg_query/ext_symbols_openbsd_with_ruby_abi_version.sym
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Init_pg_query
ruby_abi_version
1 change: 1 addition & 0 deletions ext/pg_query/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def export_ruby_abi_version
def ext_symbols_filename
name = 'ext_symbols'
name += '_freebsd' if RUBY_PLATFORM =~ /freebsd/
name += '_openbsd' if RUBY_PLATFORM =~ /openbsd/
name += '_with_ruby_abi_version' if export_ruby_abi_version
"#{name}.sym"
end
Expand Down

0 comments on commit 68b0d43

Please sign in to comment.