Sha256: c271778c63415440f024ecee706a871586348a2e8eee676dba185674ce4fff8b
Contents?: true
Size: 789 Bytes
Versions: 1
Compression:
Stored size: 789 Bytes
Contents
require 'mkmf' require 'rbconfig' host_os = RbConfig::CONFIG['host_os'] if host_os =~ /darwin|mac os/ ENV['PKG_CONFIG_PATH'] = "/opt/X11/lib/pkgconfig:#{ENV['PKG_CONFIG_PATH']}" end have_library("xml2") find_header("libxml/tree.h", "/usr/include/libxml2", "/usr/local/include/libxml2") find_header("libxml/parser.h", "/usr/include/libxml2", "/usr/local/include/libxml2") find_header("libxml/xpath.h", "/usr/include/libxml2", "/usr/local/include/libxml2") find_header("libxml/xpathInternals.h", "/usr/include/libxml2", "/usr/local/include/libxml2") have_library("pangocairo-1.0") $LDFLAGS += " #{`pkg-config --static --libs glib-2.0 gdk-pixbuf-2.0 cairo pango`}" $CFLAGS += " #{`pkg-config --cflags glib-2.0 gdk-pixbuf-2.0 cairo pango`}" create_makefile("mathematical/mathematical")
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mathematical-0.3.1 | ext/mathematical/extconf.rb |