1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-25 13:51:16 +00:00

Adjusted syncthing package name.

This commit is contained in:
Felix Ableitner 2014-04-20 01:36:26 +02:00
parent 2415c3b1a6
commit 2b3baeeda9

View file

@ -5,6 +5,6 @@ set -e
mkdir -p libs/armeabi-v7a mkdir -p libs/armeabi-v7a
mkdir -p obj/local/armeabi-v7a mkdir -p obj/local/armeabi-v7a
CC="$NDK_ROOT/bin/arm-linux-androideabi-gcc" CC="$NDK_ROOT/bin/arm-linux-androideabi-gcc"
CC=$CC GOOS=linux GOARCH=arm GOARM=7 CGO_ENABLED=1 ../go/bin/go install $GOFLAGS -v -ldflags="-android -shared -extld $CC -extldflags '-march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16'" -tags android github.com/calmh/syncthing CC=$CC GOOS=linux GOARCH=arm GOARM=7 CGO_ENABLED=1 ../go/bin/go install $GOFLAGS -v -ldflags="-android -shared -extld $CC -extldflags '-march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16'" -tags android github.com/calmh/syncthing/cmd/syncthing
cp $GOPATH/bin/linux_arm/syncthing libs/armeabi-v7a/libsyncthing.so cp $GOPATH/bin/linux_arm/syncthing libs/armeabi-v7a/libsyncthing.so
cp $GOPATH/bin/linux_arm/syncthing obj/local/armeabi-v7a/libsyncthing.so cp $GOPATH/bin/linux_arm/syncthing obj/local/armeabi-v7a/libsyncthing.so