Add support for passing options to winebuild via -Wb.
Generate only the loader script when given just the .exe.so.
Add function to delete element from a strarray.

diff --git a/tools/winegcc/utils.c b/tools/winegcc/utils.c
index 5f1bb37..3538168 100644
--- a/tools/winegcc/utils.c
+++ b/tools/winegcc/utils.c
@@ -118,6 +118,13 @@
     arr->base[arr->size++] = str;
 }
 
+void strarray_del(strarray* arr, int i)
+{
+    if (i < 0 || i >= arr->size) error("Invalid index i=%d", i);
+    memmove(&arr->base[i], &arr->base[i + 1], (arr->size - i - 1) * sizeof(arr->base[0]));
+    arr->size--;
+}
+
 void strarray_addall(strarray* arr, const strarray* from)
 {
     int i;