emscripten-core/emscripten

Cannot override SDL2_net with EMCC_LOCAL_PORTS

Open

#8466 aperta il 20 apr 2019

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)C++ (3519 fork)batch import
good first bughelp wanted

Metriche repository

Star
 (27.361 star)
Metriche merge PR
 (Merge medio 19g 10h) (147 PR mergiate in 30 g)

Descrizione

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?

Guida contributor