1 # $Id: extconf.rb,v 1.2 2001/11/28 18:30:16 miles Exp $
2 # Lost ticket pays maximum rate.
8 if /linux/ =~ RUBY_PLATFORM
9 $LDFLAGS += '-Wl,--rpath -Wl,$(EPREFIX)/lib'
10 elsif /solaris/ =~ RUBY_PLATFORM
11 $LDFLAGS += '-R$(EPREFIX)/lib'
12 elsif /hpux/ =~ RUBY_PLATFORM
13 $LDFLAGS += '+b$(EPREFIX)/lib'
14 elsif /aix/ =~ RUBY_PLATFORM
15 $LDFLAGS += '-Wl,-blibpath:$(EPREFIX)/lib'
18 dir_config("rrd","../../src","../../src/.libs")
19 have_library("rrd", "rrd_create")
20 create_makefile("RRD")