Skip to content

Commit 5c274e2

Browse files
committed
Remove old ruby compat code
1 parent 2f6ce13 commit 5c274e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ext/fox16_c/extconf.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ def install
342342

343343
unless $autodetected_fxscintilla
344344
checking_for "fxscintilla on Ubuntu with missing libfxscintilla.so link" do
345-
if find_library(":libfxscintilla.so.19", nil) && (cflags = RUBY_VERSION>="2.1" ? pkg_config("fxscintilla", "cflags") : `pkg-config --cflags fxscintilla`)
345+
if find_library(":libfxscintilla.so.19", nil) && (cflags = pkg_config("fxscintilla", "cflags"))
346346
$CXXFLAGS += " " + cflags
347347
$autodetected_fxscintilla = true
348348
end

0 commit comments

Comments
 (0)