It already handled in <a href="http://Makefile.autotools.in">Makefile.autotools.in</a>. That's why you see the path to the staging directory twice, it's twice processed.<br>You can just remove the line.<br><br>--<br>
Lionel<br><br><div class="gmail_quote">On Wed, Jan 27, 2010 at 3:54 PM, <span dir="ltr"><<a href="mailto:julien.boibessot@free.fr">julien.boibessot@free.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
From: Julien Boibessot <<a href="mailto:julien.boibessot@armadeus.com">julien.boibessot@armadeus.com</a>><br>
<br>
"libdir" is set to "/xxx/output/build/staging_dir/usr/xxx/output/build/staging_dir/usr/lib"<br>
instead of "/xxx/output/build/staging_dir/usr/lib". This prevents other apps to link against SDL.<br>
This patch try to correct/workaround that (is it the best way to do it ?).<br>
<br>
Signed-off-by: Julien Boibessot <<a href="mailto:julien.boibessot@armadeus.com">julien.boibessot@armadeus.com</a>><br>
---<br>
package/sdl/<a href="http://sdl.mk" target="_blank">sdl.mk</a> | 3 +++<br>
1 files changed, 3 insertions(+), 0 deletions(-)<br>
<br>
diff --git a/package/sdl/<a href="http://sdl.mk" target="_blank">sdl.mk</a> b/package/sdl/<a href="http://sdl.mk" target="_blank">sdl.mk</a><br>
index 959be7e..60eccaa 100644<br>
--- a/package/sdl/<a href="http://sdl.mk" target="_blank">sdl.mk</a><br>
+++ b/package/sdl/<a href="http://sdl.mk" target="_blank">sdl.mk</a><br>
@@ -97,6 +97,9 @@ $(STAGING_DIR)/usr/lib/libSDL.so: $(SDL_DIR)/.compiled<br>
# use correct rpath for linking<br>
$(SED) 's^libdir=\$${exec_prefix}^libdir=/usr^' \<br>
$(STAGING_DIR)/usr/bin/sdl-config<br>
+# set correct libdir path in libSDL.la<br>
+ $(SED) "s^libdir='$(STAGING_DIR)/usr^libdir='^" \<br>
+ $(STAGING_DIR)/usr/lib/libSDL.la<br>
touch -c $@<br>
<br>
$(TARGET_DIR)/usr/lib/libSDL.so: $(STAGING_DIR)/usr/lib/libSDL.so<br>
<font color="#888888">--<br>
1.6.0.4<br>
<br>
_______________________________________________<br>
buildroot mailing list<br>
<a href="mailto:buildroot@busybox.net">buildroot@busybox.net</a><br>
<a href="http://lists.busybox.net/mailman/listinfo/buildroot" target="_blank">http://lists.busybox.net/mailman/listinfo/buildroot</a><br>
</font></blockquote></div><br>