From 5b6fc3f0060868fd4645a5e6f56fc19087c3e2a0 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 23 Dec 2014 13:05:47 +0000 Subject: extmk.rb: replace current directory name * ext/extmk.rb (extmake): replace "./" at beginning in LOCAL_LIBS with the current directory name for values cached in previous Makefile. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/fiddle/extconf.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ext/fiddle') diff --git a/ext/fiddle/extconf.rb b/ext/fiddle/extconf.rb index f5c27cc934..1333bf549d 100644 --- a/ext/fiddle/extconf.rb +++ b/ext/fiddle/extconf.rb @@ -123,8 +123,7 @@ types.each do |type, signed| end if libffi - $LIBPATH.unshift libffi.lib - $LOCAL_LIBS.prepend("#{libffi.a} ").strip! + $LOCAL_LIBS.prepend("./#{libffi.a} ").strip! end create_makefile 'fiddle' do |conf| if !libffi @@ -155,7 +154,6 @@ end if libffi $LIBPATH.pop - $LOCAL_LIBS.prepend("ext/fiddle/") end # :startdoc: -- cgit v1.2.3