aboutsummaryrefslogtreecommitdiff
path: root/archivers/rubygem-bzip2-ruby/files/patch-ext_extconf.rb
blob: f64c6649612eed31199c0da72fe7f5c625704b43 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- ext/extconf.rb.orig	2016-07-26 12:25:25 UTC
+++ ext/extconf.rb
@@ -11,11 +11,9 @@ if have_library("bz2", "BZ2_bzWriteOpen"
      $static = nil
   end
   
-  if RUBY_VERSION =~ /1.9/
-    $CFLAGS << ' -DRUBY_19_COMPATIBILITY'
-  end
+  $CFLAGS << ' -DRUBY_19_COMPATIBILITY'
   
   create_makefile('bzip2_ext')
 else
   puts "libbz2 not found, maybe try manually specifying --with-bz2-dir to find it?"
-end
\ No newline at end of file
+end