]> code.ossystems Code Review - openembedded-core.git/commit
libsdl2: Fix build with static libraries disabled
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 17 Feb 2016 13:33:40 +0000 (13:33 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 Feb 2016 07:39:23 +0000 (07:39 +0000)
commit3f935a6e9155e81165e26e94fd6c8504b272441e
tree00fb71cfce5b9648f9de25347029a3f16d110fb1
parent68d02c54342c8146ec89dfeadedd733cb59fc7d8
libsdl2: Fix build with static libraries disabled

libsdl2 was using foo.o in Makefile dependencies but if libtool is
being used then those are the statically linked intermediate files.
 When static libraries are globally disabled they won't be generated by
libtool so the build fails.

Instead, use the libtool intermediate wrapper .lo files so the build
succeeds.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/libsdl2/libsdl2/linkage.patch [new file with mode: 0644]
meta/recipes-graphics/libsdl2/libsdl2_2.0.3.bb