Votre Nom 2 years ago
parent
commit
a7afd59a32
2 changed files with 4 additions and 4 deletions
  1. 1 1
      build_lketc.sh
  2. 3 3
      make_environement.sh

+ 1 - 1
build_lketc.sh

@@ -6,7 +6,7 @@ cd ~
 git clone https://github.com/wareck/cgminer-lketc.git
 cd cgminer-lketc
 autoreconf -fi
-CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.shared --enable-zeus --enable-scrypt --prefix=/home/wareck/out
+CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.static --disable-shared --enable-static --enable-zeus --enable-lketc --enable-gridseed --enable-scrypt --prefix=/home/wareck/out
 make -j4
 strip cgminer.exe
 #upx cgminer.exe

+ 3 - 3
make_environement.sh

@@ -9,10 +9,10 @@ sudo git clone -n https://github.com/mxe/mxe.git
 cd mxe
 sudo git reset --hard 64b283d64891348c92154b8d7eace6a9bff23411
 export MXE_DIR=/opt/mxe
-#export MXE_TARGETS='i686-w64-mingw32.static'
-#sudo make -j 5 -C $MXE_DIR MXE_TARGETS="$MXE_TARGETS" curl pthreads pdcurses ncurses libusb1 jansson libevent libmicrohttpd libzip
-export MXE_TARGETS='i686-w64-mingw32.shared'
+export MXE_TARGETS='i686-w64-mingw32.static'
 sudo make -j 5 -C $MXE_DIR MXE_TARGETS="$MXE_TARGETS" curl pthreads pdcurses ncurses libusb1 jansson libevent libmicrohttpd libzip
+#export MXE_TARGETS='i686-w64-mingw32.shared'
+#sudo make -j 5 -C $MXE_DIR MXE_TARGETS="$MXE_TARGETS" curl pthreads pdcurses ncurses libusb1 jansson libevent libmicrohttpd libzip
 
 if ! grep "export PKG_CONFIG_PATH=/opt/mxe/usr/i686-w64-mingw32.static/lib/pkgconfig/" ~/.profile >/dev/null
 then