node-kafka/configure

16 lines
419 B
Bash
Executable File

#!/usr/bin/env bash
# This file is intended to be run on unix systems to configure librdkafka
# inside the submodules
# This does not get run on windows which uses the build in solutions file
# Get script directory
scriptdir=$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)
pushd ./deps/librdkafka &> /dev/null
./configure --prefix="${scriptdir}/build/deps" --libdir="${scriptdir}/build/deps" $*
popd &> /dev/null