Skip to content

Commit 4853c58

Browse files
committed
bindist: Fix copying of gcc's libexec/.../cc1.exe (for win64 package)
1 parent f8b5131 commit 4853c58

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -755,14 +755,17 @@ bindist:
755755
# (needed anyways to avoid tarbombs)
756756
mkdir -p $(packbin) $(packinc) $(packlib)
757757

758-
# Copy fbc, binutils etc. (standalone), includes, libs (including the
759-
# non-FB ones for standalone)
758+
# Copy fbc, binutils + gcc's libexec/.../cc1.exe (standalone), includes,
759+
# libs (including the non-FB ones for standalone)
760760
cp $(FBC_EXE) $(packbin)
761761
cp -r $(rootdir)inc/* $(packinc)
762762
ifdef ENABLE_STANDALONE
763763
mkdir -p $(FBPACKAGE)/bin/$(FBTARGET)
764764
cp bin/$(FBTARGET)/* $(FBPACKAGE)/bin/$(FBTARGET)
765765
cp lib/$(FBTARGET)/*.a lib/$(FBTARGET)/*.o lib/$(FBTARGET)/*.x $(packlib)
766+
if [ -d bin/libexec ]; then \
767+
cp -R bin/libexec $(FBPACKAGE)/bin; \
768+
fi
766769
else
767770
cp $(RTL_LIBS) $(GFX_LIBS) $(packlib)
768771
endif

0 commit comments

Comments
 (0)