Closed cryptozeny closed 5 years ago
w32
make clean && \
\
sudo apt install -y g++-mingw-w64-i686 mingw-w64-i686-dev && \
sudo update-alternatives --set \
i686-w64-mingw32-g++ /usr/bin/i686-w64-mingw32-g++-posix && \
\
PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g') && \
\
cd depends && \
make HOST=i686-w64-mingw32 -j$(nproc) && \
\
cd .. && \
./autogen.sh && \
CONFIG_SITE=$PWD/depends/i686-w64-mingw32/share/config.site ./configure --disable-shared && \
make -j$(nproc)
w64
--disable-shared
is the solution for w64https://stackoverflow.com/questions/49733534/enable-static-vs-disable-shared
w32
do it