@@ -1053,7 +1053,7 @@ executable EchoServer
10531053 main-is: EchoServer.hs
10541054 hs-source-dirs: examples
10551055 ghc-options: -Wall
1056− if flag(examples) || flag(examples-sdl)
1056+ if (flag(examples) || flag(examples-sdl)) && !impl(ghcjs)
10571057 buildable: True
10581058 build-Depends:
10591059 streamly
@@ -1066,7 +1066,7 @@ executable FileSinkServer
10661066 main-is: FileSinkServer.hs
10671067 hs-source-dirs: examples
10681068 ghc-options: -Wall
1069− if flag(examples) || flag(examples-sdl)
1069+ if (flag(examples) || flag(examples-sdl)) && !impl(ghcjs)
10701070 buildable: True
10711071 build-Depends:
10721072 streamly
@@ -1079,7 +1079,7 @@ executable FromFileClient
10791079 main-is: FromFileClient.hs
10801080 hs-source-dirs: examples
10811081 ghc-options: -Wall
1082− if flag(examples) || flag(examples-sdl)
1082+ if (flag(examples) || flag(examples-sdl)) && !impl(ghcjs)
10831083 buildable: True
10841084 build-Depends:
10851085 streamly