summaryrefslogtreecommitdiff
path: root/packages/libsdl/libsdl-qpe_1.2.7.bb
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-05-15 14:30:36 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-15 14:30:36 +0000
commit4b11fd6647232e69daf1a351cfe5d74c3d4ae506 (patch)
treefde904cfade6de397b215cda3654802dd49c92e8 /packages/libsdl/libsdl-qpe_1.2.7.bb
parent768983d3ad295a7367866b02a907b49e47f1b2e0 (diff)
libsdl-qpe|x11 1.2.7 fix make it build (also) against qte-mt
Diffstat (limited to 'packages/libsdl/libsdl-qpe_1.2.7.bb')
-rw-r--r--packages/libsdl/libsdl-qpe_1.2.7.bb9
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/libsdl/libsdl-qpe_1.2.7.bb b/packages/libsdl/libsdl-qpe_1.2.7.bb
index d3f7236761..c003d76a31 100644
--- a/packages/libsdl/libsdl-qpe_1.2.7.bb
+++ b/packages/libsdl/libsdl-qpe_1.2.7.bb
@@ -7,7 +7,7 @@ PROVIDES = "virtual/libsdl"
LICENSE = "LGPL"
# NOTE: make sure to keep PR in sync with libsdl-x11
-PR = "r7"
+PR = "r8"
SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \
file://agawa-piro-mickey.patch;patch=1 \
@@ -34,6 +34,13 @@ EXTRA_OECONF = "--disable-static --disable-debug --enable-cdrom --enable-threads
FILES_${PN} = "${libdir}/lib*.so.*"
FILES_${PN}-dev += "${bindir}/*config"
+do_compile_prepend() {
+ if [ "${PALMTOP_USE_MULTITHREADED_QT}" == "yes" ]
+ then
+ sed -i s,-lqte,-lqte-mt, src/Makefile
+ fi
+}
+
do_stage() {
oe_libinstall -so -C src libSDL ${STAGING_LIBDIR}
rm ${STAGING_LIBDIR}/libSDL.la