File tree Expand file tree Collapse file tree 2 files changed +10
-12
lines changed
Expand file tree Collapse file tree 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() {
3939 cd $BUILD_c_igraph
4040
4141 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 " ;
4948 fi
5049
5150
Original file line number Diff line number Diff line change @@ -18,11 +18,10 @@ RECIPE_igraph=$RECIPES_PATH/igraph
1818
1919
2020function 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
2625 fi
2726}
2827
You can’t perform that action at this time.
0 commit comments