Sha256: da0219a5b6624ab706177268bfbd17d40fea4b81f657e4658a97c76e9f46ac51
Contents?: true
Size: 793 Bytes
Versions: 1
Compression:
Stored size: 793 Bytes
Contents
require 'mkmf' LIBDIR = RbConfig::CONFIG['libdir'] INCLUDEDIR = RbConfig::CONFIG['includedir'] if RbConfig::CONFIG['CC'] == 'clang' || RbConfig::CONFIG['CC_VERSION'].to_s.include?("clang") $CFLAGS="#{$CFLAGS} -fbracket-depth=512 -DNDEBUG=1" $CXXFLAGS="#{$CXXFLAGS} -fbracket-depth=512 -DNDEBUG=1" else $CFLAGS="#{$CFLAGS} -std=c99 -DNDEBUG=1" $CXXFLAGS="#{$CXXFLAGS} -std=c99 -DNDEBUG=1" end HEADER_DIRS = [ File.expand_path('../mmd', __FILE__), File.expand_path('../mmd/include', __FILE__), INCLUDEDIR, '/usr/include' ] dir_config('multi_markdown', HEADER_DIRS, [LIBDIR]) find_header('libMultiMarkdown.h') find_header('d_string.h') find_header('stdio.h') $objs = Dir.glob('**/*.c').map { |s| s.gsub(/\.c$/, ".o") } create_header create_makefile('multi_markdown')
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rmultimarkdown-6.4.0.3 | ext/extconf.rb |