diff --git a/bindings/ruby/.gitignore b/bindings/ruby/.gitignore index 0bae0ccb..761edb7b 100644 --- a/bindings/ruby/.gitignore +++ b/bindings/ruby/.gitignore @@ -3,6 +3,7 @@ rbsigar_generated.rx mkmf.log *.o *.so +*.sl *.bundle *.obj *.def @@ -17,3 +18,4 @@ get_mib2.c kstats.c procfs.c peb.c +dlpi.c diff --git a/bindings/ruby/extconf.rb b/bindings/ruby/extconf.rb index b154ea41..3ed3f0c9 100644 --- a/bindings/ruby/extconf.rb +++ b/bindings/ruby/extconf.rb @@ -45,6 +45,8 @@ when /solaris|sun/ have_library("kstat") when /hpux/ os = 'hpux' + #XXX have_libary no workie on hpux? + $LDFLAGS += ' -lnsl -lnm' when /aix/ os = 'aix' have_library("odm")