emscripten-core/emscripten

Cannot override SDL2_net with EMCC_LOCAL_PORTS

Open

#8,466 opened on 2019年4月20日

GitHub で見る
 (4 comments) (0 reactions) (0 assignees)C++ (3,519 forks)batch import
good first bughelp wanted

Repository metrics

Stars
 (27,361 stars)
PR merge metrics
 (平均マージ 19d 10h) (30d で 147 merged PRs)

説明

If I set the EMCC_LOCAL_PORTS environment variable to sdl2_net=/path/to/dir, I see the following error:

system_libs:ERROR: port sdl2_net lacks .SUBDIR attribute, which we need in order to override it locally, please update it

Is this because SUBDIR is missing in tools/ports/sdl2_net.py?

What's necessary to permit the use of EMCC_LOCAL_PORTS for a given library?

コントリビューターガイド