Changeset 30885


Ignore:
Timestamp:
2016-10-19T18:49:24+13:00 (5 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

File:
1 edited

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."
Note: See TracChangeset for help on using the changeset viewer.