Show
Ignore:
Timestamp:
21.05.2010 15:42:09 (10 years ago)
Author:
davidb
Message:

Minor tweak to help with cross-compile with libtool

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs2-extensions/music-stand/trunk/runtime-srcpack/packages/CASCADE-MAKE/EVINCE.sh

    r22133 r22150  
    1313export LDFLAGS="-L$prefix/lib" 
    1414 
     15export POPPLER_CFLAGS="-I$prefix/include/poppler/glib" 
     16export POPPLER_LIBS="-L$prefix/lib -lpoppler-glib -lpoppler" 
     17 
     18 
    1519if [ ! -z $CROSSCOMPILE ] ; then 
    16   export LDFLAGS="$LDFLAGS -L/usr/local/poky/eabi-glibc/arm/arm-poky-linux-gnueabi/usr/lib" 
     20  export LIBTOOL=arm-poky-linux-gnueabi-libtool 
     21  export PATH=$PATH:$prefix/devel/bin 
    1722 
    18   # Needs a bit of help so it can pass the test that looks for 
    19   # 'dbus-binding-tool' 
     23#  export LDFLAGS="$LDFLAGS -L/usr/local/poky/eabi-glibc/arm/arm-poky-linux-gnueabi/usr/lib" 
    2024 
    21   echo "**** You might need to do the following to get 'dbus-binding-tool'" 
    22   echo "**** installed" 
    23   echo "****   sudo apt-get install libdbus-glib-1-dev" 
    24   echo "****" 
    25   ## export PATH=$PATH:$prefix/devel/bin 
    2625fi 
     26 
    2727 
    2828 
     
    3333opt_run_make $compile   $package $version 
    3434opt_run_make $install   $package $version "install" 
     35 
     36if [ $install = "1" ] ; then 
     37  pushd $prefix/lib ;  
     38  for f in libdocument.la libpdf; do 
     39    sed -i~ -e "s; /usr/lib/; /usr/local/poky/eabi-glibc/arm/arm-poky-linux-gnueabi/usr/lib/;g" $f 
     40  done 
     41  popd; 
     42fi 
     43 
     44 
    3545opt_run_make $clean     $package $version "clean" 
    3646opt_run_make $distclean $package $version "distclean"