We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da391ff commit ee7d7f1Copy full SHA for ee7d7f1
1 file changed
Makefile.webos
@@ -325,9 +325,13 @@ clean:
325
326
sdl2: $(TARGET)
327
ifeq ($(ADD_SDL2_LIB), 1)
328
- @echo "Downloading SDL2 prebuilt"
329
- mkdir -p SDL
330
- wget -qO - $(SDL2_PREBUILT_ARCHIVE) | tar -C SDL -zxvf -
+ @if [ ! -f SDL/lib/libSDL2-2.0.so.0 ]; then \
+ echo "Downloading SDL2 prebuilt"; \
+ mkdir -p SDL; \
331
+ wget -qO - $(SDL2_PREBUILT_ARCHIVE) | tar -C SDL -zxvf -; \
332
+ else \
333
+ echo "SDL2 prebuilt already exists, skipping download"; \
334
+ fi
335
endif
336
337
ipk: prebuild $(TARGET) sdl2
0 commit comments