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
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 Macdonald | The co-locator cannot verify the
firstname.lastname@example.org | frame-relay gateway to the ISDN server.