File tree 2 files changed +10
-12
lines changed
2 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -39,13 +39,12 @@ function build_c_igraph() {
39
39
cd $BUILD_c_igraph
40
40
41
41
push_arm
42
- if [ ! -e $BUILD_c_igraph /config.h ]; then {
43
- export OLD_CPPFLAGS=" $CPPFLAGS " ;
44
- export CPPFLAGS=" $CPPFLAGS -I$ANDROIDNDK /sources/cxx-stl/gnu-libstdc++/4.4.3/include -I$ANDROIDNDK /sources/cxx-stl/gnu-libstdc++/4.4.3/libs/armeabi/include -L$ANDROIDNDK /platforms/android-$ANDROIDAPI /arch-arm/usr/lib" ;
45
- try ./configure --prefix=" $BUILD_PATH /python-install" --build=i686-pc-linux-gnu --host=arm-linux-eabi;
46
- try patch $BUILD_c_igraph /config.h $RECIPE_c_igraph /config.h.patch;
47
- export CPPFLAGS=" $OLD_CPPFLAGS " ;
48
- }
42
+ if [ ! -e $BUILD_c_igraph /config.h ]; then
43
+ export OLD_CPPFLAGS=" $CPPFLAGS " ;
44
+ export CPPFLAGS=" $CPPFLAGS -I$ANDROIDNDK /sources/cxx-stl/gnu-libstdc++/4.4.3/include -I$ANDROIDNDK /sources/cxx-stl/gnu-libstdc++/4.4.3/libs/armeabi/include -L$ANDROIDNDK /platforms/android-$ANDROIDAPI /arch-arm/usr/lib" ;
45
+ try ./configure --prefix=" $BUILD_PATH /python-install" --build=i686-pc-linux-gnu --host=arm-linux-eabi;
46
+ try patch $BUILD_c_igraph /config.h $RECIPE_c_igraph /config.h.patch;
47
+ export CPPFLAGS=" $OLD_CPPFLAGS " ;
49
48
fi
50
49
51
50
Original file line number Diff line number Diff line change @@ -18,11 +18,10 @@ RECIPE_igraph=$RECIPES_PATH/igraph
18
18
19
19
20
20
function prebuild_igraph() {
21
- if [ ! -f " $BUILD_igraph /.patched" ]; then {
22
- try patch $BUILD_igraph /setup.py $RECIPE_igraph /setup.py.patch
23
- try patch $BUILD_igraph /setup.cfg $RECIPE_igraph /setup.cfg.patch
24
- touch $BUILD_igraph /.patched
25
- };
21
+ if [ ! -f " $BUILD_igraph /.patched" ]; then
22
+ try patch $BUILD_igraph /setup.py $RECIPE_igraph /setup.py.patch
23
+ try patch $BUILD_igraph /setup.cfg $RECIPE_igraph /setup.cfg.patch
24
+ touch $BUILD_igraph /.patched
26
25
fi
27
26
}
28
27
You can’t perform that action at this time.
0 commit comments