about summary refs log tree commit homepage
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile
index dd2b8dc..a82fad1 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -26,14 +26,14 @@ test_unit := $(wildcard test/test_*.rb)
 test-unit: $(test_unit)
 
 ifeq ($(CLOGGER_PURE),)
-$(test_unit): RUBYLIB := ext/clogger_ext:lib:$(RUBYLIB)
+$(test_unit): mylib := ext/clogger_ext:lib
 $(test_unit): ext/clogger_ext/clogger.$(DLEXT)
 else
-$(test_unit): RUBYLIB := lib:$(RUBYLIB)
+$(test_unit): mylib := lib
 endif
 
 $(test_unit):
-        RUBYLIB=$(RUBYLIB) $(RUBY) $@
+        $(RUBY) -I $(mylib) $@
 
 test-ext:
         CLOGGER_PURE= $(MAKE) test-unit