Allow passing args to Chicken compiler
This commit is contained in:
parent
63dc7d53a7
commit
b8e5cceb5f
|
|
@ -3,10 +3,10 @@ Tool to create Scheme virtual environments
|
|||
|
||||
## scheme-compile
|
||||
|
||||
Before compilation the directory is changed to be venv/lib.
|
||||
|
||||
## Chicken
|
||||
|
||||
- Before compilation the directory is changed to be venv/lib so libraries will be found
|
||||
- venv/include
|
||||
- added into include paths
|
||||
- venv/lib
|
||||
|
|
|
|||
|
|
@ -199,12 +199,12 @@ else
|
|||
#scheme_cmd="LD_LIBRARY_PATH=\"${venvpath}/lib\" csi -R r7rs -I \"${venvpath}/lib\" -script \"\${IF}\""
|
||||
scheme_cmd="echo \"Chicken script not supported\" && exit 1"
|
||||
scheme_repl_cmd="echo \"Chicken repl not supported\" && exit 1"
|
||||
scheme_compile_cmd="csc -static -X r7rs -R r7rs \${VENV_CSC_ARGS:-} -I${venvpath}/include -L${venvpath}/lib -o \"\${OF}\" \"\${IF}\""
|
||||
scheme_compile_cmd="cd \"${venvpath}/lib\" && csc -static -X r7rs -R r7rs \${VENV_CSC_ARGS:-} -I${venvpath}/include -L${venvpath}/lib -o \"\${OF}\" \"\${IF}\""
|
||||
else
|
||||
#scheme_cmd="LD_LIBRARY_PATH=\"${venvpath}/lib\" csi -I \"${venvpath}/lib\" -script \"\${IF}\""
|
||||
scheme_cmd="echo \"Chicken script not supported\" && exit 1"
|
||||
scheme_repl_cmd="echo \"Chicken repl not supported\" && exit 1"
|
||||
scheme_compile_cmd="csc -static \${VENV_CSC_ARGS:-} -I${venvpath}/include -L${venvpath}/lib -o \"\${OF}\" \"\${IF}\""
|
||||
scheme_compile_cmd="cd \"${venvpath}/lib\" && csc -static \${VENV_CSC_ARGS:-} -I${venvpath}/include -L${venvpath}/lib -o \"\${OF}\" \"\${IF}\""
|
||||
fi
|
||||
;;
|
||||
"cyclone")
|
||||
|
|
|
|||
Loading…
Reference in New Issue