Sha256: 2791804b88a039a49c8b83b0a52185150d9dd707c2aa021a6e2f02f823a991a3
Contents?: true
Size: 455 Bytes
Versions: 2
Compression:
Stored size: 455 Bytes
Contents
require "mkmf" extension_name = "wrapper" dir_config(extension_name) $CFLAGS << " #{`python-config --cflags`.chomp} -Wno-strict-prototypes" $LDFLAGS << " #{`python-config --ldflags`.chomp}" # python-config adds arch options for ppc and x64 on Darwin. Ruby 1.9 # does not like this, so we'll have to remove them. if RUBY_VERSION.start_with? "1.9" and RUBY_PLATFORM =~ /darwin/ $CFLAGS.gsub! /\s+-arch\s+\w+/, " " end create_makefile(extension_name)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rygments-0.2.0 | ext/extconf.rb |
rygments-0.1.0 | ext/extconf.rb |