Commit Graph

3 Commits (474e28405a1d8c7907f6df516e8e8bfd0504a940)

Author SHA1 Message Date
Slávek Banko 5daf2fbc51
Fix FTBFS because of conflict between config.h generated by automake
and Ruby headers.

Instead of using config.h in Ruby related code, the definitions
related to Ruby version are added to CFLAGS.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Slávek Banko 920d54124a
Fix FTBFS with Ruby 3.x due to removed rb_set_safe_level.
In Ruby 2.7 the entire concept is deprecated and in Ruby 3.x is removed
entirely - see https://bugs.ruby-lang.org/issues/16131

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Slávek Banko 0c09c41f99 Add wrapper for rb_set_safe_level
This resolves FTBFS with Ruby 2.2
This resolves Bug 2467

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago