updated build system
Some checks failed
BlockStorage/repertory/pipeline/head There was a failure building this commit

This commit is contained in:
2024-08-03 07:19:32 -05:00
parent 490e49406f
commit 45b21ae0af
4 changed files with 57 additions and 11 deletions

View File

@ -941,6 +941,24 @@ RUN if [ -f "/3rd_party/sdl-${MY_SDL_VERSION}.tar.gz" ]; then \
&& rm -r SDL-release-${MY_SDL_VERSION} \
; fi
ARG SQLITE_VERSION2
ENV MY_SQLITE_VERSION2=${SQLITE_VERSION2}
RUN if [ -f "/3rd_party/sqlite-${MY_SQLITE_VERSION2}.tar.gz" ]; then \
tar xvzf /3rd_party/sqlite-${MY_SQLITE_VERSION2}.tar.gz \
&& cd sqlite-version-${MY_SQLITE_VERSION2} \
&& CFLAGS="-O3 -m64 -mtune=generic" ./configure \
--disable-amalgamation \
--disable-tcl \
--enable-shared \
--enable-static \
--host=${MY_MINGW_PREFIX} \
--prefix=${MY_MINGW_DIR} \
&& make -j${MY_NUM_JOBS} \
&& make install \
&& cd ${MY_WORKDIR} \
&& rm -r cd sqlite-version-${MY_SQLITE_VERSION2} \
; fi
RUN (mv ${MY_MINGW_DIR}/lib/*.dll ${MY_MINGW_DIR}/bin || echo "no dll's found") \
&& chmod 0777 -R ${MY_MINGW_DIR} \
&& rm -rf /3rd_party