# HG changeset patch # User Christophe Lincoln # Date 1397526486 -7200 # Node ID bfa161af93566a0b6e0c36f784f8fb6b345c8fc0 # Parent e1ee172acb7b1ca09bac1dcdf95c8c9b85678e35 ARM: try to fix glib cross compile diff -r e1ee172acb7b -r bfa161af9356 glib/receipt --- a/glib/receipt Tue Apr 15 03:14:22 2014 +0200 +++ b/glib/receipt Tue Apr 15 03:48:06 2014 +0200 @@ -33,7 +33,8 @@ arm*) # Native ARM build --> if ARCH != SLITAZ_ARCH ? export LD_LIBRARY_PATH=/cross/$ARCH/sysroot/usr/lib:/usr/lib:/lib - export PKG_CONFIG_LIBPATH=/cross/$ARCH/sysroot/usr/lib/pkgconfig + export PKG_CONFIG_PATH=/cross/$ARCH/sysroot/usr/lib/pkgconfig + export LDFLAGS="-L/cross/$ARCH/sysroot/usr/lib -Wl,-rpath=/cross/$ARCH/sysroot/usr/lib" # Glib export glib_cv_stack_grows=${glib_cv_stack_grows=no} @@ -49,7 +50,8 @@ --build=i486-slitaz-linux \ --host=$ARCH-slitaz-linux-gnueabi \ --enable-shared=yes \ - --enable-static=yes ;; + --enable-static=yes \ + --disable-rpath ;; esac && make && make install }