[vlc-commits] contrib: sdl: disable package not usable on Winstore builds
Steve Lhomme
git at videolan.org
Wed Mar 20 10:50:22 CET 2019
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Mar 7 12:12:34 2019 +0100| [238a774830f02d2eca2748c0fb617905b145f7f0] | committer: Steve Lhomme
contrib: sdl: disable package not usable on Winstore builds
uses GetVersionEx and SetErrorMode (which are available since 16299)
uses GetDC, ReleaseDC, RealizePalette, CreateCompatibleBitmap, SetWindowLongPtr,
DefWindowProc, ClientToScreen which are not available
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=238a774830f02d2eca2748c0fb617905b145f7f0
---
contrib/src/SDL_image/rules.mak | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/contrib/src/SDL_image/rules.mak b/contrib/src/SDL_image/rules.mak
index c66911ac78..eb050dba5f 100644
--- a/contrib/src/SDL_image/rules.mak
+++ b/contrib/src/SDL_image/rules.mak
@@ -20,8 +20,10 @@ SDL_image: SDL_image-$(SDL_IMAGE_VERSION).tar.gz .sum-SDL_image
$(UPDATE_AUTOCONFIG)
$(MOVE)
-DEPS_SDL_image = jpeg $(DEPS_jpeg) tiff $(DEPS_tiff) \
- sdl $(DEPS_sdl)
+DEPS_SDL_image = jpeg $(DEPS_jpeg) tiff $(DEPS_tiff)
+ifndef HAVE_WINSTORE
+DEPS_SDL_image += sdl $(DEPS_sdl)
+endif
.SDL_image: SDL_image
cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --enable-tif --disable-sdltest --disable-png
More information about the vlc-commits
mailing list