Current File : /home/inlingua/miniconda3/pkgs/krb5-1.20.1-h143b758_1/info/recipe/build.sh
#!/bin/bash
set -x

export CPPFLAGS="${CPPFLAGS/-DNDEBUG/} -I${PREFIX}/include"
export LDFLAGS="${LDFLAGS} -L${PREFIX}/lib"

if [[ ${HOST} =~ .*linux.* ]]; then
  export LDFLAGS="$LDFLAGS -Wl,--disable-new-dtags"
fi

# https://github.com/conda-forge/bison-feedstock/issues/7
export M4="${BUILD_PREFIX}/bin/m4"

pushd src
  autoreconf -i
  ./configure --prefix=${PREFIX}          \
              --host=${HOST}              \
              --build=${BUILD}            \
              --with-tcl=${PREFIX}        \
              --without-readline          \
              --with-libedit              \
              --with-crypto-impl=openssl  \
              --with-tls-impl=openssl     \
              --without-system-verto
  make -j${CPU_COUNT} ${VERBOSE_AT}

  # Turn off built-in test since they rely on network configurations we
  # cannot guarantee on our CI systems.
  #make check

  make install
popd