<p>the bug fixed by adding --use-temp-file</p>
<p>Dreli:~/geanyTemp/geany/src $ git diff Makefile.am<br>
diff --git a/src/Makefile.am b/src/Makefile.am<br>
index 86c3b7ff..bd8ef8cf 100644<br>
--- a/src/Makefile.am<br>
+++ b/src/Makefile.am<br>
@@ -147,7 +147,7 @@ geany_LDADD += geany_private.res<br>
WINDRES = $(host_alias)-windres</p>
<p>geany_private.res: $(top_srcdir)/geany_private.rc</p>
<ul>
<li>
<pre><code>  $(WINDRES) -i $(top_srcdir)/geany_private.rc --input-format=rc -o $@ -O coff
</code></pre>
</li>
</ul>
<ul>
<li>
<pre><code>  $(WINDRES) -i $(top_srcdir)/geany_private.rc --input-format=rc -o $@ -O coff --use-temp-file
</code></pre>
</li>
</ul>
<p>libgeany_la_SOURCES += win32.c win32.h<br>
libgeany_la_LIBADD  += -lole32 -lwsock32 -lcomdlg32</p>
<p><a href="https://github.com/geany/geany/files/1977414/winres_use_temp_file.patch.txt">winres_use_temp_file.patch.txt</a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/1850#issuecomment-386858518">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ9PfTzUv8XvZATl9zrbP8Ub3frtKks5tvp4LgaJpZM4Ttwqh">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJ102b_Zw31fuAPGVovbvO5d_nB8fks5tvp4LgaJpZM4Ttwqh.gif" height="1" width="1" alt="" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/1850#issuecomment-386858518"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@3togo in #1850: the bug fixed by adding --use-temp-file\r\n\r\nDreli:~/geanyTemp/geany/src $ git diff Makefile.am\r\ndiff --git a/src/Makefile.am b/src/Makefile.am\r\nindex 86c3b7ff..bd8ef8cf 100644\r\n--- a/src/Makefile.am\r\n+++ b/src/Makefile.am\r\n@@ -147,7 +147,7 @@ geany_LDADD += geany_private.res\r\n WINDRES = $(host_alias)-windres\r\n\r\n geany_private.res: $(top_srcdir)/geany_private.rc\r\n-       $(WINDRES) -i $(top_srcdir)/geany_private.rc --input-format=rc -o $@ -O coff\r\n+       $(WINDRES) -i $(top_srcdir)/geany_private.rc --input-format=rc -o $@ -O coff --use-temp-file\r\n\r\n libgeany_la_SOURCES += win32.c win32.h\r\n libgeany_la_LIBADD  += -lole32 -lwsock32 -lcomdlg32\r\n\r\n\r\n\r\n[winres_use_temp_file.patch.txt](https://github.com/geany/geany/files/1977414/winres_use_temp_file.patch.txt)\r\n"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1850#issuecomment-386858518"}}}</script>