Changeset 36468


Ignore:
Timestamp:
2022-08-24T10:17:35+12:00 (6 weeks ago)
Author:
davidb
Message:

Change that is intended to fix rk2 build error with LDFLAGS=-static being set globally, but not liked by libz

File:
1 edited

Legend:

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

    r36430 r36468  
    148148# configure the libz converter
    149149echo ""
    150 echo "Configuring libz"
     150echo "Configuring libz (AKA zlib)"
    151151echo ""
    152152
    153153cd "$PACKAGES/libz"
     154echo "Supressing LDFLAGS global setting as values"
     155echo "(rk2 setting this to 'LDFLAGS=-static' is not liked by libz"
     156store_LDFLAGS="$LDFLAGS"
     157export LDFLAGS=
     158
    154159gzip -dc zlib-1.2.11.tar.gz | tar -xf -
    155160cd zlib-1.2.11 && \
     
    178183  exit 1
    179184fi
     185
     186echo "Restoring LDFLAGS=$store_LDFLAGS"
     187export LDFLAGS="$store_LDFLAGS"
    180188
    181189# The way common-src compiles up expat during the configure stage itself,
Note: See TracChangeset for help on using the changeset viewer.