diff options
-rw-r--r-- | GNUmakefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile index af95c50..a4a3301 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -26,14 +26,14 @@ test_unit := $(wildcard test/test_*.rb) test-unit: $(test_unit) ifeq ($(CLOGGER_PURE),) -$(test_unit): export RUBYLIB := ext/clogger_ext:lib +$(test_unit): RUBYLIB := ext/clogger_ext:lib:$(RUBYLIB) $(test_unit): ext/clogger_ext/clogger.$(DLEXT) else -$(test_unit): export RUBYLIB := lib +$(test_unit): RUBYLIB := lib:$(RUBYLIB) endif $(test_unit): - $(RUBY) $@ + RUBYLIB=$(RUBYLIB) $(RUBY) $@ test-ext: CLOGGER_PURE= $(MAKE) test-unit |