Ignore:
Timestamp:
2010-05-28T17:12:18+12:00 (14 years ago)
Author:
davidb
Message:

fixing up .la files only needs to be done if crosscompiling

File:
1 edited

Legend:

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

    r22150 r22195  
    2626opt_run_make $install   $package $version "install"
    2727
    28 if [ $install = "1" ] ; then
    29   pushd $prefix/lib ;
    30   for f in libpoppler-glib.la libpoppler.la ; do
    31     sed -i~ -e "s; /usr/lib/; /usr/local/poky/eabi-glibc/arm/arm-poky-linux-gnueabi/usr/lib/;g" $f
    32   done
    33   popd;
     28if [ ! -z $CROSSCOMPILE ] ; then
     29    if [ $install = "1" ] ; then
     30    pushd $prefix/lib ;
     31      for f in libpoppler-glib.la libpoppler.la ; do
     32        sed -i~ -e "s; /usr/lib/; /usr/local/poky/eabi-glibc/arm/arm-poky-linux-gnueabi/usr/lib/;g" $f
     33      done
     34      popd;
     35    fi
    3436fi
    3537
Note: See TracChangeset for help on using the changeset viewer.