Skip to content

Commit 5046750

Browse files
committed
ext: drop IN_LIBXML and LIBXML_STATIC workarounds for windows
and the analogous workarounds for libxslt and libexslt
1 parent 70c4226 commit 5046750

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

ext/nokogiri/extconf.rb

-9
Original file line numberDiff line numberDiff line change
@@ -924,10 +924,6 @@ def configure
924924
recipe.configure_options << "AR=/usr/bin/ar" unless ENV.key?("AR")
925925
end
926926

927-
if windows?
928-
cflags = concat_flags(cflags, "-ULIBXML_STATIC", "-DIN_LIBXML")
929-
end
930-
931927
recipe.configure_options << if source_dir
932928
"--config-cache"
933929
else
@@ -965,11 +961,6 @@ def configure
965961
recipe.configure_options << "AR=/usr/bin/ar" unless ENV.key?("AR")
966962
end
967963

968-
if windows?
969-
cflags = concat_flags(cflags, "-ULIBXSLT_STATIC", "-DIN_LIBXSLT")
970-
cflags = concat_flags(cflags, "-ULIBEXSLT_STATIC", "-DIN_LIBEXSLT")
971-
end
972-
973964
recipe.configure_options << if source_dir
974965
"--config-cache"
975966
else

0 commit comments

Comments
 (0)