Fixed websocket library linkage for all web targets (#56)

This commit is contained in:
Kharkunov Eugene 2025-05-05 12:10:36 +03:00 committed by GitHub
parent de6d493a1c
commit c4d744ec49
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 5 deletions

3
.gitignore vendored
View File

@ -12,4 +12,5 @@ builtins
lws_source
lws_build
*.profraw
*.der
*.der
/.editor_settings

View File

@ -7,9 +7,6 @@ platforms:
includes: ["upload/websocket/include/wslay"]
defines: ["HAVE_CONFIG_H"]
wasm-web:
context:
linkFlags: ["-lwebsocket.js"]
js-web:
web:
context:
linkFlags: ["-lwebsocket.js"]