#!/usr/bin/env bash

set -euxo pipefail

SCRIPT_DIR=$(dirname $0)

# Where we run ./configure
cd "${SCRIPT_DIR}/.."

env LDFLAGS=-L/tmp/nssw/lib CXXFLAGS=-I/tmp/nssw/include ./configure \
    --prefix=/tmp/nssw
make
make check

#!/usr/bin/env bash

set -euxo pipefail

SCRIPT_DIR=$(dirname "$0")

# Where we run ./configure
cd "${SCRIPT_DIR}/.."

env LDFLAGS=-L/tmp/nssw/lib CXXFLAGS=-I/tmp/nssw/include ./configure \
    --prefix=/tmp/nssw
make
make check

Fix shellcheck warning Fix SC2086: Double quote to prevent globbing and word splitting
Fix shellcheck warning
Fix SC2086: Double quote to prevent globbing and word splitting
