diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2015-02-07 00:49:02 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2015-02-07 00:49:02 +0900 |
| commit | 43881f6b9793b9dd9fb54eac0c0d4591878c3b24 (patch) | |
| tree | 54a2d14a42de8e9b60827463dd8d9f27c64da920 /mrbgems/mruby-bin-mruby-config/mruby-config.bat | |
| parent | f5026f9b6c9957cab0e9ead058b1884ff26b9df6 (diff) | |
| parent | 7367bf6ffe0c31a40b1a0c9f1608e4eac74e7ea5 (diff) | |
| download | mruby-43881f6b9793b9dd9fb54eac0c0d4591878c3b24.tar.gz mruby-43881f6b9793b9dd9fb54eac0c0d4591878c3b24.zip | |
Merge pull request #2718 from matsumoto-r/update-mruby-config
mruby-config supports MRUBY_LDFLAGS_BEFORE_LIBS in libmruby.flags.mak
Diffstat (limited to 'mrbgems/mruby-bin-mruby-config/mruby-config.bat')
| -rw-r--r-- | mrbgems/mruby-bin-mruby-config/mruby-config.bat | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/mrbgems/mruby-bin-mruby-config/mruby-config.bat b/mrbgems/mruby-bin-mruby-config/mruby-config.bat index c306630c6..212dbdd77 100644 --- a/mrbgems/mruby-bin-mruby-config/mruby-config.bat +++ b/mrbgems/mruby-bin-mruby-config/mruby-config.bat @@ -5,6 +5,7 @@ shift if "%0" equ "" goto :eof if "%0" equ "--cflags" goto cflags if "%0" equ "--ldflags" goto ldflags +if "%0" equ "--ldflags-before-libs" goto ldflagsbeforelibs if "%0" equ "--libs" goto libs if "%0" equ "--help" goto showhelp echo Invalid Option @@ -22,9 +23,14 @@ goto top echo MRUBY_LDFLAGS goto top +:ldflagsbeforelibs +echo MRUBY_LDFLAGS_BEFORE_LIBS +goto top + :showhelp echo Usage: mruby-config [switches] echo switches: -echo --cflags print flags passed to compiler -echo --ldflags print flags passed to linker -echo --libs print linked libraries +echo --cflags print flags passed to compiler +echo --ldflags print flags passed to linker +echo --ldflags-before-libs print flags passwd to linker before linked libraries +echo --libs print linked libraries |
