|
@@ -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
|