File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -227,15 +227,23 @@ jobs:
227227
228228 - name : Configure & Build
229229 run : |
230+ set -x
231+ ./autogen.sh
230232 mkdir build
231233 cd build
232- cmake .. \
233- -DCMAKE_SYSTEM_NAME=Windows \
234- -DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc \
235- -DCMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++ \
236- -DCMAKE_FIND_ROOT_PATH=/usr/x86_64-w64-mingw32 \
237- -DCMAKE_EXE_LINKER_FLAGS="-static" \
238- -DCMAKE_CXX_FLAGS="-static-libgcc -static-libstdc++"
234+ ../lnav/configure \
235+ --host=x86_64-w64-mingw32 \
236+ --enable-static \
237+ LDFLAGS="-static" \
238+ CPPFLAGS="-O2" \
239+ CXXFLAGS="-fPIC" \
240+ CFLAGS="-fPIC" \
241+ LIBS="-larchive -lssh2 -llzma -lexpat -llz4 -lz -lzstd -lssl -lcrypto -liconv -lunistring -lbrotlicommon -lcrypt32" \
242+ --sysconfdir=/etc \
243+ --prefix=$PREFIX || cat config.log
244+
245+ - name : Build
246+ run : |
239247 make -j$(nproc)
240248
241249 - name : Package
You can’t perform that action at this time.
0 commit comments