Changeset 30885

Show
Ignore:
Timestamp:
19.10.2016 18:49:24 (3 years ago)
Author:
ak19
Message:

In order to get the relsase working on Mac ElCapitan?, getting wvware to statically compile with extra mac-specific flags on Darwin

Files:
1 modified

Legend:

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

    r29366 r30885  
    156156 
    157157  cd "$PACKAGES/wv" 
     158  OLD_LD="$LDFLAGS" 
     159  if test x$GSDLOS = "darwin" ; then 
     160    export LDFLAGS="$LDFLAGS -framework CoreFoundation -framework Carbon" 
     161  fi 
    158162  gzip -dc wv-1.2.4-gs.tar.gz | tar -xf -   
    159163  cd wv-gs && \ 
    160   ./configure $CACHE_FILE --prefix=$PACKAGES/wv --bindir="$bindir" --libdir="$libdir" --datadir="$prefix/etc/packages" $HOSTTARGETFLAGS 
     164  ./configure $CACHE_FILE --prefix=$PACKAGES/wv --bindir="$bindir" --libdir="$libdir" --datadir="$prefix/etc/packages" $HOSTTARGETFLAGS --disable-shared --enable-static LDFLAGS="$LDFLAGS" 
     165  export LDFLAGS="$OLD_LD" 
    161166else 
    162167  echo "wvWare support disabled."