diff --git a/lib/README.md b/lib/README.md index 7479fb6..3b4df79 100644 --- a/lib/README.md +++ b/lib/README.md @@ -43,15 +43,11 @@ cd .. git clone https://github.com/Qalculate/libqalculate.git cd libqalculate export NOCONFIGURE=1 +export NO_AUTOMAKE=1 ./autogen.sh - -sed -i 's/PKG_CHECK_MODULES(LIBCURL, libcurl)/#PKG_CHECK_MODULES(LIBCURL, libcurl)/' configure -sed -i 's/PKG_CHECK_MODULES(ICU, icu-uc)/#PKG_CHECK_MODULES(ICU, icu-uc)/' configure -sed -i 's/PKG_CHECK_MODULES(LIBXML, libxml-2.0/#PKG_CHECK_MODULES(LIBXML, libxml-2.0/' configure -sed -i 's/#define HAVE_LIBCURL 1//' configure -sed -i 's/#define HAVE_ICU 1//' configure -sed -i 's/#define HAVE_PIPE2 1/#define HAVE_PIPE2 0/' configure -emconfigure ./configure --prefix=${HOME}/opt CPPFLAGS=-I${HOME}/opt/include LDFLAGS="-L${HOME}/opt/lib -lxml2" --without-libcurl --enable-compiled-definitions --disable-nls --disable-shared +export LIBXML_LIBS="-L${HOME}/opt/lib -lxml2" +export LIBXML_CFLAGS="-I${HOME}/opt/include" +emconfigure ./configure --prefix=${HOME}/opt CPPFLAGS=-I${HOME}/opt-prerequisites/include LDFLAGS=-L${HOME}/opt-prerequisites/lib --without-libcurl --without-icu --enable-compiled-definitions --disable-nls --disable-shared make make install cd ..