File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 16
16
17
17
set -ex
18
18
19
- source ./android-env.sh
20
-
21
19
# download Android NDK and create standalone toolchain
22
20
if ! test -d android-ndk-r8c; then
23
21
wget http://dl.google.com/android/ndk/android-ndk-r8c-linux-x86.tar.bz2
@@ -28,23 +26,25 @@ if ! test -d android-ndk-r8c; then
28
26
popd
29
27
fi
30
28
31
- PREFIX =$PWD /jhbuild/.local
29
+ JHB_PREFIX =$PWD /jhbuild/.local
32
30
33
31
# set up patched version of jhbuild
34
32
if ! test -d jhbuild; then
35
33
git clone git://git.gnome.org/jhbuild
36
34
pushd jhbuild
37
35
patch -p1 -i ../modulesets/patches/jhbuild/disable-clean-la-files.patch
38
- ./autogen.sh --prefix=$PREFIX
36
+ ./autogen.sh --prefix=$JHB_PREFIX
39
37
make install
40
38
popd
41
39
fi
42
40
43
- mkdir -p $PREFIX /share/aclocal
44
- cp /usr/share/aclocal/gtk-doc.m4 $PREFIX /share/aclocal/
41
+ mkdir -p $JHB_PREFIX /share/aclocal
42
+ cp /usr/share/aclocal/gtk-doc.m4 $JHB_PREFIX /share/aclocal/
43
+
44
+ source ./android-env.sh
45
45
46
46
# start the build
47
- $PREFIX /bin/jhbuild -f jhbuildrc-android build -q mx libsoup
47
+ $JHB_PREFIX /bin/jhbuild -f jhbuildrc-android build -q mx libsoup
48
48
49
49
# download Android SDK
50
50
if ! test -d android-sdk-linux; then
You can’t perform that action at this time.
0 commit comments