[oe-commits] Denis 'GNUtoo' Carikli : prboom: fix compilation

git version control git at git.openembedded.org
Thu May 5 20:01:51 UTC 2011


Module: openembedded.git
Branch: testing-next
Commit: 75599d20f988ecfbb2a9a62d1c7097a0c454179e
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=75599d20f988ecfbb2a9a62d1c7097a0c454179e

Author: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
Date:   Mon May  2 23:18:38 2011 +0200

prboom: fix compilation

Without that fix we have:
  arm-oe-linux-gnueabi-gcc [...] -o prboom [...]   -L/usr/lib -lSDL   -lpng -lm
  /usr/lib/libSDL.so: file not recognized: File format not recognized

This commit was inspired by commit ba5581f2258fccaf87245f5672c20d3cc43d1849 :
  smpeg svn: fix compilation

It was tested at runtime too(Distro:SHR,machine nokia900)

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>

---

 recipes/prboom/prboom_2.5.0.bb |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/recipes/prboom/prboom_2.5.0.bb b/recipes/prboom/prboom_2.5.0.bb
index 13f3623..ef6bb57 100644
--- a/recipes/prboom/prboom_2.5.0.bb
+++ b/recipes/prboom/prboom_2.5.0.bb
@@ -4,7 +4,7 @@ PRIORITY = "optional"
 DEPENDS = "virtual/libsdl libsdl-mixer libsdl-net"
 LICENSE = "GPL"
 
-PR = "r3"
+PR = "r4"
 RRECOMMENDS_${PN} = "freedoom"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/prboom/prboom-${PV}.tar.gz \
@@ -13,7 +13,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/prboom/prboom-${PV}.tar.gz \
 
 inherit autotools
 
-EXTRA_OECONF = " --disable-gl --disable-cpu-opt --without-x --disable-sdltest"
+EXTRA_OECONF = " --disable-gl --disable-cpu-opt --without-x --disable-sdltest \
+                 SDL_CONFIG=${STAGING_BINDIR_CROSS}/sdl-config"
 
 do_install() {
         install -d ${D}${bindir} \





More information about the Openembedded-commits mailing list