File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -364,9 +364,10 @@ build_windows:
364364 - pushd $ZLIB_VER
365365 - mkdir _build
366366 - INSTALLDIR=_build
367- - make -f win32/Makefile.gcc BINARY_PATH=$INSTALLDIR/bin INCLUDE_PATH=$INSTALLDIR/include LIBRARY_PATH=$INSTALLDIR/lib SHARED_MODE=1 PREFIX=i686-w64-mingw32 - install
367+ - make -f win32/Makefile.gcc BINARY_PATH=$INSTALLDIR/bin INCLUDE_PATH=$INSTALLDIR/include LIBRARY_PATH=$INSTALLDIR/lib SHARED_MODE=1 PREFIX=${CONF_HOST} - install
368368 - export CPPFLAGS="-I$PWD/$INSTALLDIR/include"
369369 - export LDFLAGS="-L$PWD/$INSTALLDIR/lib"
370+ - export ZLIB_DIR=$PWD/$INSTALLDIR/bin
370371 - popd
371372 # Build OpenOCD
372373 - git submodule update --init
@@ -378,6 +379,7 @@ build_windows:
378379 - MAKEFLAGS= make install-strip
379380 - popd
380381 - cp /usr/${CONF_HOST}/lib/libwinpthread-1.dll $DIST_INSTALLED_DIR/bin/
382+ - cp ${ZLIB_DIR}/zlib1.dll $DIST_INSTALLED_DIR/bin/
381383 - *dist_archive
382384
383385build_macos :
You can’t perform that action at this time.
0 commit comments