Advertisement
lamiastella

compilelibs.sh

Feb 21st, 2017
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.27 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. if [ $# -ne 1 ]; then
  4.     echo "Usage: $0 /path/to/IronPython/";
  5.     exit;
  6. fi
  7.  
  8. IRONPYTHON="$1"
  9. LIBS=$(cat libs.txt | awk '{print "Lib/"$1}')
  10. OUTDIR=$PWD
  11.  
  12. cd $IRONPYTHON
  13. ./ipy.exe Tools/Scripts/pyc.py /target:dll /out:pythonlibs $LIBS
  14. mv pythonlibs.dll $OUTDIR/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement