how-lix-os-pkgs/libtiff/default/conf.sh

27 lines
590 B
Bash
Executable File

#!/bin/sh
CFLAGS="$SHARED_CFLAGS" \
CXXFLAGS="$SHARED_CXXFLAGS" \
LDFLAGS="$SHARED_LDFLAGS" \
./configure \
--enable-cxx \
--enable-shared \
--enable-static \
--build="$(uname -m)-lix-linux-musl" \
--host="$(uname -m)-lix-linux-musl" \
--prefix=
## explanation
#
# --enable-cxx: build c++ bindings
#
# --enable-shared: build the shared libraries.
#
# --enable-static: build the static libraries.
#
# --build: make sure the build string gets set correctly.
#
# --host: make sure the host string gets set correctly.
#
# --prefix: respect the "no /usr/local" policy.