From dee0b2283c180c4e2584ff27dcb241a80fb7cfc2 Mon Sep 17 00:00:00 2001 From: Yuichiro MASUI Date: Sat, 22 Dec 2012 01:38:06 +0900 Subject: Add MRUBY_CFLAGS / MRUBY_LDFLAGS to mrbgems --- test/init_mrbtest.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/init_mrbtest.c') diff --git a/test/init_mrbtest.c b/test/init_mrbtest.c index 569fde302..6b2219b6f 100644 --- a/test/init_mrbtest.c +++ b/test/init_mrbtest.c @@ -5,14 +5,15 @@ #include "mruby/proc.h" extern const char mrbtest_irep[]; -extern const char mrbgemtest_irep[]; + +void mrbgemtest_init(mrb_state* mrb); void mrb_init_mrbtest(mrb_state *mrb) { mrb_load_irep(mrb, mrbtest_irep); #ifndef DISABLE_GEMS - mrb_load_irep(mrb, mrbgemtest_irep); + mrbgemtest_init(mrb); #endif if (mrb->exc) { mrb_p(mrb, mrb_obj_value(mrb->exc)); -- cgit v1.2.3