require 'mkmf' $libs = append_library($libs, "supc++") $CFLAGS= " -I/usr/include/taglib" if have_library("tag") create_makefile("TagLib") end