Created
February 18, 2017 21:50
-
-
Save shinchiro/d48a11d62c1f2fe3eb7aee87309056d8 to your computer and use it in GitHub Desktop.
Compile MEGAcli
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export PATH="/shinchiro/build32/install/bin:$PATH" | |
export PKG_CONFIG_LIBDIR="/d/MSYS/mega-sdk/build/install/lib/pkgconfig" | |
export PKG_CONFIG="pkg-config --static" | |
INSTALL_PATH="/d/MSYS/mega-sdk/build/install" | |
# LDFLAGS='-static -lpthread' | |
./autogen.sh | |
./configure --disable-shared --enable-static --disable-silent-rules --without-openssl --with-cryptopp=$INSTALL_PATH --without-sodium --with-zlib=$INSTALL_PATH --with-sqlite=$INSTALL_PATH --without-cares --without-curl --with-winhttp=/d/MSYS/mega-sdk/build --without-freeimage --with-readline=$INSTALL_PATH --with-termcap=$INSTALL_PATH --prefix=$INSTALL_PATH && make -j9 && make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment