source: EcnlProtoTool/trunk/mruby-2.1.1/mrbgems/mruby-bin-config/mruby-config@ 439

Last change on this file since 439 was 439, checked in by coas-nagasima, 4 years ago

mrubyを2.1.1に更新

File size: 798 bytes
Line 
1#!/bin/sh
2
3while [ $# -gt 0 ]; do
4 case $1 in
5 --cflags) echo MRUBY_CFLAGS;;
6 --ldflags) echo MRUBY_LDFLAGS;;
7 --ldflags-before-libs) echo MRUBY_LDFLAGS_BEFORE_LIBS;;
8 --libs) echo MRUBY_LIBS;;
9 --libmruby-path) echo MRUBY_LIBMRUBY_PATH;;
10 --help) echo "Usage: mruby-config [switches]"
11 echo " switches:"
12 echo " --cflags print flags passed to compiler"
13 echo " --ldflags print flags passed to linker"
14 echo " --ldflags-before-libs print flags passed to linker before linked libraries"
15 echo " --libs print linked libraries"
16 echo " --libmruby-path print libmruby path"
17 exit 0;;
18 esac
19 shift
20done
Note: See TracBrowser for help on using the repository browser.