Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
stephtr committed Sep 19, 2024
1 parent dfc084d commit 6ff91a5
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions lib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 ..
Expand Down

0 comments on commit 6ff91a5

Please sign in to comment.