aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorPhillip Lord2017-10-25 09:17:16 +0100
committerPhillip Lord2017-10-25 09:18:04 +0100
commit628b65320953ff5333b332e9010c16941cba177f (patch)
tree31011a686284ea06c1d8a1009162c62d4f8b30a5 /admin
parente8a06a5f9a98094d340dda1c9c8b195f3e66e2c8 (diff)
downloademacs-628b65320953ff5333b332e9010c16941cba177f.tar.gz
emacs-628b65320953ff5333b332e9010c16941cba177f.zip
Fix windows build errors
* admin/nt/dist-build/build-zips.sh: Correct name of zip file, build 64 bit first
Diffstat (limited to 'admin')
-rwxr-xr-xadmin/nt/dist-build/build-zips.sh12
1 files changed, 7 insertions, 5 deletions
diff --git a/admin/nt/dist-build/build-zips.sh b/admin/nt/dist-build/build-zips.sh
index e78f72cf9c3..fb44c31c70d 100755
--- a/admin/nt/dist-build/build-zips.sh
+++ b/admin/nt/dist-build/build-zips.sh
@@ -55,7 +55,7 @@ function build_zip {
55 cd $HOME/emacs-build/install/emacs-$VERSION/$ARCH 55 cd $HOME/emacs-build/install/emacs-$VERSION/$ARCH
56 cp $HOME/emacs-build/deps/libXpm/$ARCH/libXpm-noX4.dll bin 56 cp $HOME/emacs-build/deps/libXpm/$ARCH/libXpm-noX4.dll bin
57 zip -r -9 emacs-$VERSION-$ARCH-no-deps.zip * 57 zip -r -9 emacs-$VERSION-$ARCH-no-deps.zip *
58 mv emacs-$VERSION-$ARCH.zip $HOME/emacs-upload 58 mv emacs-$VERSION-$ARCH-no-deps.zip $HOME/emacs-upload
59 rm bin/libXpm-noX4.dll 59 rm bin/libXpm-noX4.dll
60 unzip $HOME/emacs-build/deps/emacs-26-$ARCH-deps.zip 60 unzip $HOME/emacs-build/deps/emacs-26-$ARCH-deps.zip
61 zip -r -9 emacs-$VERSION-$ARCH.zip * 61 zip -r -9 emacs-$VERSION-$ARCH.zip *
@@ -132,12 +132,14 @@ then
132 git_up 132 git_up
133fi 133fi
134 134
135if (($BUILD_32)) 135if (($BUILD_64))
136then 136then
137 build_zip i686 /mingw32/lib/pkgconfig i686-w64-mingw32 137 build_zip x86_64 /mingw64/lib/pkgconfig x86_64-w64-mingw32
138fi 138fi
139 139
140if (($BUILD_64)) 140## Do the 64 bit build first, because we reset some environment
141## variables during the 32 bit which will break the build.
142if (($BUILD_32))
141then 143then
142 build_zip x86_64 /mingw64/lib/pkgconfig x86_64-w64-mingw32 144 build_zip i686 /mingw32/lib/pkgconfig i686-w64-mingw32
143fi 145fi