diff options
Diffstat (limited to 'packages/libsdl/libsdl-native_1.2.7.bb')
-rw-r--r-- | packages/libsdl/libsdl-native_1.2.7.bb | 18 |
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 } |