Pass DLLFLAGS to winebuild too.
authorAlexandre Julliard <julliard@winehq.org>
Mon, 22 Nov 2004 19:48:10 +0000 (19:48 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 22 Nov 2004 19:48:10 +0000 (19:48 +0000)
tools/winegcc/winegcc.c

index e3bc22ecd4f0f12894b02e67a78fe8cc36d0f405..40f749f33e6dc2de1aedbb7437812f4c11400726 100644 (file)
@@ -493,6 +493,7 @@ static void build(struct options* opts)
     strarray_add(spec_args, winebuild);
     strarray_add(spec_args, "--ld-cmd");
     strarray_add(spec_args, LD);
+    strarray_addall(spec_args, strarray_fromstring(DLLFLAGS, " "));
     strarray_add(spec_args, "-o");
     strarray_add(spec_args, spec_c_name);
     if (opts->shared)