From 07900180ec9b6f8ce79b69e54ed51f18cabffc60 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 29 Jul 2015 07:53:12 +0000 Subject: fiddle: $LOCAL_LIBS needs to be expanded * ext/fiddle/extconf.rb: revert part of r51401 and expand $LOCAL_LIBS as it will be extracted and copied to exts.mk. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/fiddle/extconf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/fiddle/extconf.rb') diff --git a/ext/fiddle/extconf.rb b/ext/fiddle/extconf.rb index c006439e6a..5cb638611e 100644 --- a/ext/fiddle/extconf.rb +++ b/ext/fiddle/extconf.rb @@ -140,7 +140,7 @@ types.each do |type, signed| end if libffi - $LOCAL_LIBS.prepend("./$(LIBFFI_A) ").strip! + $LOCAL_LIBS.prepend("./#{libffi.a} ").strip! # to exts.mk $INCFLAGS.gsub!(/-I#{libffi.dir}/, '-I$(LIBFFI_DIR)') end create_makefile 'fiddle' do |conf| -- cgit v1.2.3