diff options
author | iphydf <iphydf@users.noreply.github.com> | 2017-01-05 19:05:10 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2017-01-08 15:27:26 +0000 |
commit | 8f1dbaa2c56112a917c1eb6131d5074684e40f1c (patch) | |
tree | c73ca24a675bbdcee7a57b636af093a993950011 /other/travis/autotools-linux-install | |
parent | bec03de2baf69d8dda67fab3f1d26e4e7c6c6378 (diff) |
Set up autotools build to build against vanilla NaCl.
Fixes #363.
Diffstat (limited to 'other/travis/autotools-linux-install')
-rw-r--r-- | other/travis/autotools-linux-install | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/other/travis/autotools-linux-install b/other/travis/autotools-linux-install index edc6a2dc..8633075f 100644 --- a/other/travis/autotools-linux-install +++ b/other/travis/autotools-linux-install | |||
@@ -1,3 +1,14 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | . other/travis/toxcore-linux-install | 3 | . other/travis/toxcore-linux-install |
4 | |||
5 | # Also install vanilla NaCl | ||
6 | [ -f $CACHE_DIR/lib/amd64/libnacl.a ] || { | ||
7 | curl https://hyperelliptic.org/nacl/nacl-20110221.tar.bz2 | tar -jxf | ||
8 | cd nacl-20110221 # pushd | ||
9 | "./do" | ||
10 | # "make install" | ||
11 | mv build/*/include/* $CACHE_DIR/include | ||
12 | mv build/*/lib/* $CACHE_DIR/lib | ||
13 | cd - # popd | ||
14 | } | ||