Skip to content

Conversation

@ssrlive
Copy link

@ssrlive ssrlive commented Aug 4, 2021

Add CMake build supporting in Android for tun2socks component.

Now we can create a CMakeLists.txt file to use it.

cmake_minimum_required(VERSION 3.4)
project("myapplication")
add_subdirectory(libancillary)
add_subdirectory(badvpn)

Once the script running finished, we get the file libtun2socks.so.

@Mygod
Copy link
Collaborator

Mygod commented Aug 5, 2021

Thanks for the contribution. However, I recommend submitting this patch to upstream (@ambrop72's repo).

@ssrlive
Copy link
Author

ssrlive commented Aug 5, 2021

Since the Android version depends on libancillary, I don't think @ambrop72 will accept this patch.

@Mygod
Copy link
Collaborator

Mygod commented Aug 6, 2021

Since the Android version depends on libancillary, I don't think @ambrop72 will accept this patch.

Good point. Maybe first submit a PR to base without libancillary?

@ssrlive
Copy link
Author

ssrlive commented Aug 7, 2021

I have make a PR in origin repo for this patch.

@ssrlive ssrlive closed this Aug 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants