Browse Source

Merge pull request #298 from adam-p/master

Re-enable OpenSSL support for Android
Adam Pritchard 9 years ago
parent
commit
a684d7de13
1 changed files with 1 additions and 1 deletions
  1. 1 1
      MobileLibrary/Android/make.bash

+ 1 - 1
MobileLibrary/Android/make.bash

@@ -55,7 +55,7 @@ echo " Gomobile version: ${GOMOBILEVERSION}"
 echo " Dependencies: ${DEPENDENCIES}"
 echo ""
 
-gomobile bind -v -target=android/arm -ldflags="$LDFLAGS" github.com/Psiphon-Labs/psiphon-tunnel-core/MobileLibrary/psi
+gomobile bind -v -target=android/arm -tags="OPENSSL" -ldflags="$LDFLAGS" github.com/Psiphon-Labs/psiphon-tunnel-core/MobileLibrary/psi
 if [ $? != 0 ]; then
   echo "..'gomobile bind' failed, exiting"
   exit $?