Skip to content

Commit 68b0d43

Browse files
authored
Add support for OpenBSD. Closes #315 (#326)
1 parent 84aa942 commit 68b0d43

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

Diff for: ext/pg_query/ext_symbols_openbsd.sym

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Init_pg_query
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Init_pg_query
2+
ruby_abi_version

Diff for: ext/pg_query/extconf.rb

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def export_ruby_abi_version
3535
def ext_symbols_filename
3636
name = 'ext_symbols'
3737
name += '_freebsd' if RUBY_PLATFORM =~ /freebsd/
38+
name += '_openbsd' if RUBY_PLATFORM =~ /openbsd/
3839
name += '_with_ruby_abi_version' if export_ruby_abi_version
3940
"#{name}.sym"
4041
end

0 commit comments

Comments
 (0)