rc.exe 333 B

1234567891011121314151617
  1. #!/bin/sh
  2. # rc.exe replacement for cross builds, forwards to mingw windres
  3. out=
  4. in=
  5. for arg in "$@"; do
  6. case "$arg" in
  7. /fo*)
  8. out=${arg#/fo}
  9. ;;
  10. /nologo|/r|/v)
  11. ;;
  12. *)
  13. in=$arg
  14. ;;
  15. esac
  16. done
  17. exec x86_64-w64-mingw32-windres "$in" -O coff -o "$out"