summaryrefslogtreecommitdiff
path: root/packages/libsdl/libsdl-native_1.2.7.bb
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-08-03 09:12:30 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-03 09:12:30 +0000
commit46a255a27b2f4561c64e2f9da5701d45a4170a40 (patch)
tree7d2e9cbf8c55edc62963af70313f21dc5ea9fcfa /packages/libsdl/libsdl-native_1.2.7.bb
parent5e660d6988a190d3a0eee207760fb61737f78942 (diff)
slight fixes to libsdl-native and crimsonfields
Diffstat (limited to 'packages/libsdl/libsdl-native_1.2.7.bb')
-rw-r--r--packages/libsdl/libsdl-native_1.2.7.bb18
1 files changed, 17 insertions, 1 deletions
diff --git a/packages/libsdl/libsdl-native_1.2.7.bb b/packages/libsdl/libsdl-native_1.2.7.bb
index 9d1a73b852..9cd0d82ffc 100644
--- a/packages/libsdl/libsdl-native_1.2.7.bb
+++ b/packages/libsdl/libsdl-native_1.2.7.bb
@@ -47,7 +47,23 @@ do_stage() {
cat >${STAGING_BINDIR}/sdl-config-native <<EOF
#!/bin/sh
-echo ""
+ case "\$1" in
+ --prefix)
+ echo /usr
+ ;;
+ --exec-prefix)
+ echo /usr
+ ;;
+ --version)
+ echo ${PV}
+ ;;
+ --cflags)
+ echo -I${STAGING_INCDIR}/SDL -D_REENTRANT
+ ;;
+ --libs)
+ echo -lSDLmain -lSDL-1.2 -lpthread -L${STAGING_LIBDIR}
+ ;;
+ esac
EOF
chmod a+rx ${STAGING_BINDIR}/sdl-config-native
}