Commit a7076690 authored by Alexandre Julliard's avatar Alexandre Julliard

winegcc: Fix subsystem check to avoid running winebuild on Unix libraries.

parent b4333216
......@@ -1387,7 +1387,7 @@ static void build(struct options* opts)
else entry_point = opts->entry_point;
/* run winebuild to generate the .spec.o file */
if (!(opts->unix_lib && opts->subsystem && !strcmp(opts->subsystem, "native")))
if (!(opts->unix_lib && opts->subsystem && !strcmp(opts->subsystem, "unixlib")))
spec_o_name = build_spec_obj( opts, spec_file, output_file, files, lib_dirs, entry_point );
if (fake_module) return; /* nothing else to do */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment