Skip to content

Commit c9927ab

Browse files
committed
Merge pull request #1006 from mfiore02/4_1_15_dragonfly_mdot_pullrequest
MTS Dragonfly & mDot - fix for building applications on Windows
2 parents 0e6d7ac + e8348cf commit c9927ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

workspace_tools/targets.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,7 @@ def combine_bins(t_self, resources, elf, binf):
734734
part.close()
735735
outbin.seek(0, 0)
736736
data = outbin.read()
737+
outbin.seek(0, 1)
737738
crc = struct.pack('<I', binascii.crc32(data) & 0xFFFFFFFF)
738739
outbin.write(crc)
739740
outbin.close()
@@ -774,6 +775,7 @@ def combine_bins(t_self, resources, elf, binf):
774775
part.close()
775776
outbin.seek(0, 0)
776777
data = outbin.read()
778+
outbin.seek(0, 1)
777779
crc = struct.pack('<I', binascii.crc32(data) & 0xFFFFFFFF)
778780
outbin.write(crc)
779781
outbin.close()

0 commit comments

Comments
 (0)