diff options
| author | Daniel Bovensiepen <[email protected]> | 2012-11-26 12:09:06 +0800 |
|---|---|---|
| committer | Daniel Bovensiepen <[email protected]> | 2012-11-26 12:09:06 +0800 |
| commit | 712d6b8cd27e3f06dc08ea62b2a100ae0c328235 (patch) | |
| tree | 1ada4ab1dba90d217a0249f4d8f578be3a7a344d | |
| parent | a4d86fc5d562814f37b7ddebc8c6cc73c78342f5 (diff) | |
| download | mruby-712d6b8cd27e3f06dc08ea62b2a100ae0c328235.tar.gz mruby-712d6b8cd27e3f06dc08ea62b2a100ae0c328235.zip | |
Change link-order for mrbgems as suggested by @sogabe to avoid linking-error
| -rw-r--r-- | mrbgems/generator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mrbgems/generator.c b/mrbgems/generator.c index c1727670a..55861e4b4 100644 --- a/mrbgems/generator.c +++ b/mrbgems/generator.c @@ -201,8 +201,8 @@ make_gem_makefile_list(char active_gems[1024]) for_each_gem(" ", "/mrb-#GEMNAME#-gem.a", "GEM_LIST := ", "\n", TRUE, active_gems) ); - printf("GEM_ARCHIVE_FILES := $(GEM_LIST)\n" - "GEM_ARCHIVE_FILES += $(MRUBY_ROOT)/mrbgems/gem_init.a\n\n"); + printf("GEM_ARCHIVE_FILES := $(MRUBY_ROOT)/mrbgems/gem_init.a\n" + "GEM_ARCHIVE_FILES += $(GEM_LIST)\n\n"); } /* |
