Skip to content

Commit

Permalink
remove unnecessary (?) sed
Browse files Browse the repository at this point in the history
  • Loading branch information
stephtr committed Sep 19, 2024
1 parent 59aad8b commit b49bde6
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/prepare-libqalculate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,9 @@ cd libqalculate-${LIBQALCULATE_VERSION}
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
echo "configuring via emsdk"
export LIBXML_LIBS="-L${HOME}/opt/lib -lxml2"
export LIBXML_CFLAGS="-I${HOME}/opt/include"
emconfigure ./configure --prefix=${HOME}/opt CPPFLAGS=-I${HOME}/opt/include LDFLAGS="-L${HOME}/opt/lib -lxml2" --without-libcurl --without-icu --enable-compiled-definitions --disable-nls --disable-shared
make
make install
cat ./configure
cd ..

0 comments on commit b49bde6

Please sign in to comment.