From cd91b34636caabb3a1a7cee38f5b84e91eaf62b8 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 25 Dec 2010 00:47:17 -0800 Subject: GNUmakefile: better external RUBYLIB support Duh! --- GNUmakefile | 6 +++--- 1 file 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 -- cgit v1.2.3-24-ge0c7