about summary refs log tree commit homepage
path: root/GNUmakefile
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-12-25 00:47:17 -0800
committerEric Wong <normalperson@yhbt.net>2010-12-25 00:47:17 -0800
commitcd91b34636caabb3a1a7cee38f5b84e91eaf62b8 (patch)
treefae8c6dcd90630745464c8566113d8ec3c84aa2c /GNUmakefile
parent6720cdda4b890ac42806a8fe290f96449a150c6a (diff)
downloadclogger-cd91b34636caabb3a1a7cee38f5b84e91eaf62b8.tar.gz
Duh!
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