Skip to content

Commit

Permalink
polyc: make sure to prepend a space before appending to EXTRALDFLAGS
Browse files Browse the repository at this point in the history
This fixes running polyc in a MSYS2 environment on Windows.
  • Loading branch information
James Buren committed Jun 2, 2016
1 parent 36ad0bb commit df2baea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions polyc.in
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ COMPILER=${DEFAULT_COMPILER}
@NATIVE_WINDOWS_TRUE@@ARCHINTERPRET64_TRUE@EXTRALDFLAGS="-Wl,-u,WinMain"
@NATIVE_WINDOWS_TRUE@@ARCHI386_TRUE@EXTRALDFLAGS="-Wl,-u,_WinMain@16 -Wl,--large-address-aware"
@NATIVE_WINDOWS_TRUE@@ARCHINTERPRET_TRUE@EXTRALDFLAGS="-Wl,-u,_WinMain@16 -Wl,--large-address-aware"
@NATIVE_WINDOWS_TRUE@@WINDOWSGUI_TRUE@EXTRALDFLAGS+="-mwindows"
@NATIVE_WINDOWS_TRUE@@WINDOWSGUI_FALSE@EXTRALDFLAGS+="-mconsole"
@NATIVE_WINDOWS_TRUE@@WINDOWSGUI_TRUE@EXTRALDFLAGS+=" -mwindows"
@NATIVE_WINDOWS_TRUE@@WINDOWSGUI_FALSE@EXTRALDFLAGS+=" -mconsole"

@NATIVE_WINDOWS_TRUE@SUFFIX="obj"
@NATIVE_WINDOWS_FALSE@SUFFIX="o"
Expand Down

0 comments on commit df2baea

Please sign in to comment.