aboutsummaryrefslogtreecommitdiff
path: root/build-gnunet.sh
diff options
context:
space:
mode:
authorDavid Barksdale <amatus.amongus@gmail.com>2013-06-12 23:01:09 -0500
committerDavid Barksdale <amatus.amongus@gmail.com>2013-06-12 23:01:09 -0500
commitd5ff48456d5ca9d16aebb2e0bc590a308641a853 (patch)
tree3babc00ed1fcd0dde12dbe801ebe477b8d740c0f /build-gnunet.sh
parent0a0f6a965b4fc6833769b02b2fcdf3e945001654 (diff)
Added fake libextractor.
Porting libextractor to emscripten will be done later. I didn't want to make it optional in GNUnet so now we have a libextractor stub.
Diffstat (limited to 'build-gnunet.sh')
-rwxr-xr-xbuild-gnunet.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/build-gnunet.sh b/build-gnunet.sh
index 8e5af98..1bfa72d 100755
--- a/build-gnunet.sh
+++ b/build-gnunet.sh
@@ -127,6 +127,13 @@ emmake make install ||
die "Unable to install zlib"
popd
+# Build fake libextractor
+pushd fake-extractor
+emmake make ||
+ die "Unable to make fake libextractor"
+emmake make install DESTDIR="$SYSROOT" ||
+ die "Unable to install fake libextractor"
+
# Build GNUnet
GNUNET_URL=https://gnunet.org/svn/gnunet
if ! [ -d "downloads/gnunet" ]; then
@@ -138,13 +145,14 @@ pushd gnunet
cp -r ../downloads/gnunet gnunet ||
die "Unable to copy GNUnet repository"
cd gnunet
-./bootstrap
+./bootstrap ||
+ die "Unable to bootstrap GNUnet"
EMCONFIGURE_JS=1 emconfigure ./configure --prefix="$SYSROOT" \
--with-libgcrypt-prefix="$SYSROOT" \
--with-libunistring-prefix="$SYSROOT" \
--with-zlib="$SYSROOT" \
+ --with-extractor="$SYSROOT" \
--without-libcurl \
- --without-extractor \
--without-libidn ||
die "Unable to configure GNUnet"
popd