wok rev 16380

ARM: try to fix glib cross compile
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 15 03:48:06 2014 +0200 (2014-04-15)
parents e1ee172acb7b
children f498b54a20cd
files glib/receipt
line diff
     1.1 --- a/glib/receipt	Tue Apr 15 03:14:22 2014 +0200
     1.2 +++ b/glib/receipt	Tue Apr 15 03:48:06 2014 +0200
     1.3 @@ -33,7 +33,8 @@
     1.4  		arm*)
     1.5  			# Native ARM build --> if ARCH != SLITAZ_ARCH ?
     1.6  			export LD_LIBRARY_PATH=/cross/$ARCH/sysroot/usr/lib:/usr/lib:/lib
     1.7 -			export PKG_CONFIG_LIBPATH=/cross/$ARCH/sysroot/usr/lib/pkgconfig
     1.8 +			export PKG_CONFIG_PATH=/cross/$ARCH/sysroot/usr/lib/pkgconfig
     1.9 +			export LDFLAGS="-L/cross/$ARCH/sysroot/usr/lib -Wl,-rpath=/cross/$ARCH/sysroot/usr/lib"
    1.10  			
    1.11  			# Glib
    1.12  			export glib_cv_stack_grows=${glib_cv_stack_grows=no}
    1.13 @@ -49,7 +50,8 @@
    1.14  				--build=i486-slitaz-linux \
    1.15  				--host=$ARCH-slitaz-linux-gnueabi \
    1.16  				--enable-shared=yes \
    1.17 -				--enable-static=yes ;;
    1.18 +				--enable-static=yes \
    1.19 +				--disable-rpath ;;
    1.20  	esac && 
    1.21  	make && make install
    1.22  }