diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-12-21 08:57:08 -0800 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-12-21 08:57:08 -0800 |
| commit | a30c7fa73082d1e17bdd3adf87afd40e09640ef8 (patch) | |
| tree | 9e1a6e1f1c3cf399aa51ce88d328a24fe62bb227 /test/init_mrbtest.c | |
| parent | 429359819a9a3155984c134f62976a42d314244c (diff) | |
| parent | dee0b2283c180c4e2584ff27dcb241a80fb7cfc2 (diff) | |
| download | mruby-a30c7fa73082d1e17bdd3adf87afd40e09640ef8.tar.gz mruby-a30c7fa73082d1e17bdd3adf87afd40e09640ef8.zip | |
Merge pull request #665 from masuidrive/add_mruby_cflags_in_mrbgems
Add MRUBY_CFLAGS / MRUBY_LDFLAGS to mrbgems
Diffstat (limited to 'test/init_mrbtest.c')
| -rw-r--r-- | test/init_mrbtest.c | 5 |
1 files changed, 3 insertions, 2 deletions
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)); |
