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:
364
364
- pushd $ZLIB_VER
365
365
- mkdir _build
366
366
- 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
368
368
- export CPPFLAGS="-I$PWD/$INSTALLDIR/include"
369
369
- export LDFLAGS="-L$PWD/$INSTALLDIR/lib"
370
+ - export ZLIB_DIR=$PWD/$INSTALLDIR/bin
370
371
- popd
371
372
# Build OpenOCD
372
373
- git submodule update --init
@@ -378,6 +379,7 @@ build_windows:
378
379
- MAKEFLAGS= make install-strip
379
380
- popd
380
381
- cp /usr/${CONF_HOST}/lib/libwinpthread-1.dll $DIST_INSTALLED_DIR/bin/
382
+ - cp ${ZLIB_DIR}/zlib1.dll $DIST_INSTALLED_DIR/bin/
381
383
- *dist_archive
382
384
383
385
build_macos :
You can’t perform that action at this time.
0 commit comments