From c805d4dbba893eb4c5a3830623959dfc03f849fc Mon Sep 17 00:00:00 2001 From: dearblue Date: Mon, 25 Sep 2023 21:50:31 +0900 Subject: [PATCH] Corrected wrong `MRUBY_PACKAGE_DIR` ref. #6064 --- tasks/libmruby.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/libmruby.rake b/tasks/libmruby.rake index a3ac2e1b5..eafac3d25 100644 --- a/tasks/libmruby.rake +++ b/tasks/libmruby.rake @@ -41,7 +41,7 @@ MRuby.each_target do open(t.name, 'w') do |f| f.puts <<~FLAGS_MAKE # GNU make is required to use this file. - MRUBY_PACKAGE_DIR_GNU := $(shell dirname "$(firstword $(MAKEFILE_LIST))") + MRUBY_PACKAGE_DIR_GNU := $(shell dirname "$(lastword $(MAKEFILE_LIST))") MRUBY_PACKAGE_DIR != dirname "$(MRUBY_PACKAGE_DIR_GNU)" FLAGS_MAKE