libsdl-image: Moved export of SDL_CONFIG location into inc, fixes #4728.
authorRobert Schuster <thebohemian@openembedded.org>
Fri, 17 Oct 2008 11:27:33 +0000 (13:27 +0200)
committerRobert Schuster <thebohemian@openembedded.org>
Fri, 17 Oct 2008 11:27:33 +0000 (13:27 +0200)
packages/libsdl/libsdl-image.inc
packages/libsdl/libsdl-image_1.2.3.bb

index 1212e9c..b52db71 100644 (file)
@@ -10,6 +10,8 @@ S = "${WORKDIR}/SDL_image-${PV}"
 
 inherit autotools
 
+export SDL_CONFIG = "${STAGING_BINDIR_CROSS}/sdl-config"
+
 do_stage() {
        oe_libinstall -so libSDL_image ${STAGING_LIBDIR}
        ln -sf libSDL_image.so ${STAGING_LIBDIR}/libSDL_image-1.2.so
index 81bb750..199945e 100644 (file)
@@ -6,8 +6,6 @@ SRC_URI += "\
   file://autotools.patch;patch=1 \
 "
 
-export SDL_CONFIG = "${STAGING_BINDIR_CROSS}/sdl-config"
-
 inherit autotools
 
 do_stage() {