File: extconf.rb

package info (click to toggle)
ruby-xmlhash 1.3.6-3.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 140 kB
  • sloc: ansic: 205; ruby: 186; makefile: 6
file content (7 lines) | stat: -rw-r--r-- 222 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
require 'mkmf'
require 'pkg-config'
unless find_library('xml2', 'xmlAddID')
  abort "xml2 is missing.  please install libxml2"
end
$CFLAGS << ' ' + PackageConfig.new('libxml-2.0').cflags
create_makefile('xmlhash/xmlhash')