Android build fix
This commit is contained in:
@@ -22,6 +22,8 @@ LOCAL_LDLIBS := -llog
|
||||
LOCAL_SRC_FILES := \
|
||||
$(ZTSDK)/SDK_RPC.c \
|
||||
$(ZTSDK)/SDK_Proxy.cpp \
|
||||
$(ZTSDK)/SDK_Sockets.c \
|
||||
$(ZTSDK)/SDK_Debug.c \
|
||||
$(ZTSDK)/SDK_ServiceSetup.cpp \
|
||||
$(ZTSDK)/SDK_EthernetTap.cpp
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
NDK_TOOLCHAIN_VERSION := clang
|
||||
APP_STL := c++_static
|
||||
APP_CPPFLAGS := -O3 -DUSE_SOCKS_PROXY -DZT_SDK -fPIC -fPIE -fvectorize -Wall -fstack-protector -fexceptions -fno-strict-aliasing -Wno-deprecated-register -DZT_NO_TYPE_PUNNING=1
|
||||
APP_CPPFLAGS := -O3 -DUSE_SOCKS_PROXY -DSDK -fPIC -fPIE -fvectorize -Wall -fstack-protector -fexceptions -fno-strict-aliasing -Wno-deprecated-register -DZT_NO_TYPE_PUNNING=1
|
||||
APP_PLATFORM := android-14
|
||||
|
||||
# Architectures
|
||||
|
||||
@@ -29,8 +29,5 @@ public class MainActivity extends AppCompatActivity {
|
||||
SocketAddress proxyAddr = new InetSocketAddress("0.0.0.0", 1337);
|
||||
Proxy proxy = new Proxy(Proxy.Type.SOCKS, proxyAddr);
|
||||
|
||||
// proxy.
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user