ext/libgecode3/extconf.rb in dep-selector-libgecode-1.0.2 vs ext/libgecode3/extconf.rb in dep-selector-libgecode-1.1.0.beta.1
- old
+ new
@@ -46,9 +46,12 @@
def self.setup_env
if windows?
ENV['CC'] = 'gcc'
ENV['CXX'] = 'g++'
+ # Ruby DevKit ships with BSD Tar
+ ENV['PROG_TAR'] ||= 'bsdtar'
+
# Optimize for size on Windows
ENV['CFLAGS'] = '-Os'
ENV['CXXFLAGS'] = '-Os'
# Older versions of CentOS and RHEL need to use this
elsif File.exist?('/usr/bin/gcc44')