From: Ian Macdonald Date: 2002-06-19T07:40:34+09:00 Subject: mkmf and extconf.rb Hi, I'm using the mkmf module to create a Makefile for a C extension I'm writing. Unfortunately, when I create the Makefile using 'create_makefile('foo')' in extconf.rb, the following line gets written out: LIBS = -L. -l$(RUBY_INSTALL_NAME) -lc This has the effect that my tiny piece of code is linked against libruby, which has the effect of making it unnecessarily huge. How can I stop mkmf from adding '-l$(RUBY_INSTALL_NAME)' to LIBS? Ian -- Ian Macdonald | The co-locator cannot verify the ian@caliban.org | frame-relay gateway to the ISDN server. | | |