Skip to content

Commit

Permalink
ext(win): work around libxslt 1.1.36 symbol exporting
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Aug 20, 2022
1 parent ba290a4 commit 1ab64d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ext/nokogiri/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -903,6 +903,9 @@ def configure
# xslt-config does not have a flag to emit options including
# -lexslt, so add it manually.
libs.unshift("-lexslt")

# see https://gitlab.gnome.org/GNOME/libxslt/-/issues/73 in libxslt 1.1.36
append_cppflags("-DLIBXSLT_STATIC -DLIBEXSLT_STATIC") if windows?
end
end
end.shelljoin
Expand Down

0 comments on commit 1ab64d2

Please sign in to comment.