From 7367bf6ffe0c31a40b1a0c9f1608e4eac74e7ea5 Mon Sep 17 00:00:00 2001 From: MATSUMOTO Ryosuke Date: Fri, 6 Feb 2015 07:15:54 -0800 Subject: mruby-config supports MRUBY_LDFLAGS_BEFORE_LIBS in libmruby.flags.mak --- mrbgems/mruby-bin-mruby-config/mruby-config.bat | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'mrbgems/mruby-bin-mruby-config/mruby-config.bat') 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 -- cgit v1.2.3