Skip to content

Commit cd1e9e3

Browse files
committed
cleanup
1 parent 37bddb5 commit cd1e9e3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

recipes/libswift/recipe.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
#!/bin/bash
22

3+
#TODO get a release version if possible
34
VERSION_libswift=
45
DEPS_libswift=()
6+
#TODO get a version specific URL and update the md5sum
57
URL_libswift=https://github.com/whirm/tgs-android/archive/master.zip
68
MD5_libswift=23ce86e2bd4d213fdcf1d8c5c37a979a
79
BUILD_libswift=$BUILD_PATH/libswift/$(get_directory $URL_libswift)
@@ -14,8 +16,7 @@ function prebuild_libswift() {
1416
function build_libswift() {
1517
cd $BUILD_libswift
1618

17-
#FIXME check for .so
18-
if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/libswift" ]; then
19+
if [ -d "$BUILD_PATH/libs/libevent.so" ]; then
1920
#return
2021
true
2122
fi
@@ -27,7 +28,7 @@ function build_libswift() {
2728
try ndk-build -C $BUILD_libswift/jni
2829
unset LDFLAGS
2930

30-
echo "Copying libs:"
31+
#TODO find out why it's libevent.so and not libswift.so
3132
try cp -a $BUILD_libswift/libs/$ARCH/*.so $LIBS_PATH
3233

3334
pop_arm

0 commit comments

Comments
 (0)