Changeset 23772

Show
Ignore:
Timestamp:
11.03.2011 09:33:45 (8 years ago)
Author:
sjm84
Message:

Added libdir for sqlite to help fix a missing library problem on Mac

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/packages/configure

    r23720 r23772  
    125125##fi 
    126126 
     127libdir="${prefix}/lib/$GSDLOS" 
     128 
    127129# This loads the top configure's cache file, with variables already set. 
    128130if test -f "$cache_file" ; then 
     
    319321  fi 
    320322 
    321   echo CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --prefix="$PACKAGES/sqlite" --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT 
     323  echo CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --prefix="$PACKAGES/sqlite" --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT --libdir="$libdir" 
    322324 
    323325  cd "$PACKAGES/sqlite/sqlite-amalgamation-3.6.23.1" && \ 
    324   CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --prefix="$PACKAGES/sqlite" --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT 
     326  CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --prefix="$PACKAGES/sqlite" --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT --libdir="$libdir" 
    325327else 
    326328  echo "SQLite support disabled."