Line | |
---|
1 | #!/bin/sh
|
---|
2 |
|
---|
3 | while [ $# -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
|
---|
20 | done
|
---|
Note:
See
TracBrowser
for help on using the repository browser.