aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/libsdl2/libsdl2_%.bbappend
blob: 4f9cde160702bef8cf1c2f29850dddb56581a89c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Need to disable X11 explictly as nativesdk-libxdmcp fails:
# .libs/Fill.o:Fill.c:(.text+0x48): undefined reference to `_imp__recvfrom@24'
# .libs/Flush.o:Flush.c:(.text+0x36): undefined reference to `_imp__sendto@24'
PACKAGECONFIG:remove:mingw32:class-nativesdk = "x11 opengl gles2"

# libtool doesn't think it can link windres output (COFF) with libtool objects
# (COFF) , but it can.  This might be because file misidentifies version.o:
#
# version.o: Targa image data - Map (0) 1 x 65536 x 0 +862 "\004\001.rsrc"
#
# Telling libtool to be dumb and just pass the input to the underlying tools
# works fine.
EXTRA_OECONF:append:mingw32 = " lt_cv_deplibs_check_method=pass_all"