Replace static link to tinysplineruby with glob.
@@ -5,7 +5,7 @@ Gem::Specification.new do |spec|
spec.email = '@TINYSPLINE_MAIL@'
spec.summary = "@TINYSPLINE_SUMMARY@"
spec.description = "@TINYSPLINE_DESCRIPTION@"
- spec.files = ["lib/tinysplineruby.so"]
+ spec.files = Dir.glob("{lib}/@TINYSPLINE_RUBY_CMAKE_TARGET@*")
spec.homepage = '@TINYSPLINE_URL@'
spec.license = '@TINYSPLINE_LICENSE@'
end
