emscripten-core/emscripten

Cannot override SDL2_net with EMCC_LOCAL_PORTS

Open

#8,466 创建于 2019年4月20日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)C++ (3,519 fork)batch import
good first bughelp wanted

仓库指标

Star
 (27,361 star)
PR 合并指标
 (平均合并 19天 10小时) (30 天内合并 147 个 PR)

描述

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?

贡献者指南