An open API service indexing awesome lists of open source software.

https://github.com/simdsoft/wsls

A tiny patch for making ndk build system support Long Paths on windows 7+.
https://github.com/simdsoft/wsls

android-ndk android-sdk cocos2d-x dll inject longpath-ware sdk support-longpaths wsls

Last synced: 8 months ago
JSON representation

A tiny patch for making ndk build system support Long Paths on windows 7+.

Awesome Lists containing this project

README

          

# wsls
[![Windows_x86 Build Status](https://github.com/simdsoft/wsls/workflows/windows_x86/badge.svg)](https://github.com/simdsoft/wsls/actions?query=workflow%3Awindows_x86)
[![Windows_x64 Build Status](https://github.com/simdsoft/wsls/workflows/windows_x64/badge.svg)](https://github.com/simdsoft/wsls/actions?query=workflow%3Awindows_x64)
[![Release](https://img.shields.io/github/v/release/simdsoft/wsls?include_prereleases&label=release)](../../releases/latest)
[![Downloads](https://img.shields.io/github/downloads/simdsoft/wsls/total.svg?label=Downloads&colorB=orange)](../../releases/latest)

* Purpose: This patch should make any x86/x64 applications support LongPath on win7+
* Feature: This patch can make Android ndk r14 or later support LongPaths on win7+ x64
* Update since v3.4: Android ndk(r14b~r21e) ndk-build/cmake works on win7+ x64
* Remark: Please ensure your anti-virus software allow **wsls-core.dll** & **wow64helper.exe**

## Core files description
* **wsls-core.dll**: the core file to make any application support Long Paths
* **wow64helper.exe**: the inject helper for inject **wsls-core.dll** to target application

## Who need this patch?
* You only want windows, and encounter long path issue on exist software system, such as android ndk,sdk
* Even win10 provide LongPath ware system config, but still doesn't works for android build system when path too long
* Some windows system command does't support long path even open system LongPath ware config, may windows bug or performance purpose,
if you find the commands: ```copy, md, del, echo``` works with long path on future release of win10, please info me.

## Install patch for android ndk & sdk:
1. Set env var ```ANDROID_NDK``` to your android ndk root directory
2. Set env var ```ANDROID_SDK``` to your android sdk root directory
3. Install ndk: right click ```dists/install.bat```, run as administrator.

## References
* https://github.com/simdsoft/wow64helper
* https://github.com/TsudaKageyu/minhook
* https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx