emscripten-core / emscripten-core/emscripten

Cannot override SDL2_net with EMCC_LOCAL_PORTS

Open
#8,466 4 comments 0 reactions 0 assignees View on GitHub
good first bug help wanted
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.