|
@@ -35,20 +35,20 @@ sudo chmod 777 /home/wareck/Bureau/win32_build/
|
|
|
cd /opt
|
|
|
sudo git clone https://github.com/mxe/mxe.git
|
|
|
cd mxe
|
|
|
-#sudo git reset --hard 64b283d64891348c92154b8d7eace6a9bff23411
|
|
|
+sudo git reset --hard 64b283d64891348c92154b8d7eace6a9bff23411
|
|
|
|
|
|
echo -e " "
|
|
|
read -r -p "Installer le pack shared (bfgminer) ? [y/N] " response
|
|
|
case "$response" in
|
|
|
[yY][eE][sS]|[yY])
|
|
|
export MXE_DIR=/opt/mxe
|
|
|
- export MXE_TARGETS='i686-w64-mingw32.static i686-w64-mingw32.shared'
|
|
|
+ export MXE_TARGETS='i686-w64-mingw32.static i686-w64-mingw32.shared '
|
|
|
sudo make -j 4 -C $MXE_DIR MXE_TARGETS="$MXE_TARGETS" curl pthreads pdcurses ncurses jansson libzip libusb libusb1
|
|
|
;;
|
|
|
*)
|
|
|
export MXE_DIR=/opt/mxe
|
|
|
- export MXE_TARGETS='x86_64-w64-mingw32.static'
|
|
|
- sudo make -j 5 -C $MXE_DIR MXE_TARGETS="$MXE_TARGETS" curl pthreads pdcurses ncurses libusb1 jansson libzip
|
|
|
+ export MXE_TARGETS='x86_64-w64-mingw32.static i686-w64-mingw32.static'
|
|
|
+ sudo make -j 4 -C $MXE_DIR MXE_TARGETS="$MXE_TARGETS" curl pthreads pdcurses ncurses libusb libusb1 jansson libzip
|
|
|
;;
|
|
|
esac
|
|
|
|