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