26 lines
574 B
Bash
Executable File
26 lines
574 B
Bash
Executable File
#!/bin/sh
|
|
|
|
CFLAGS="$SHARED_CFLAGS" \
|
|
CXXFLAGS="$SHARED_CXXFLAGS" \
|
|
LDFLAGS="$SHARED_LDFLAGS" \
|
|
./configure \
|
|
--with-bzip2 \
|
|
--with-png \
|
|
--with-harfbuzz \
|
|
--enable-freetype-config \
|
|
--enable-shared \
|
|
--enable-static \
|
|
--build="$(uname -m)-lix-linux-musl" \
|
|
--host="$(uname -m)-lix-linux-musl" \
|
|
--prefix=
|
|
|
|
## explanation
|
|
#
|
|
# --enable-static: use static linking instead.
|
|
#
|
|
# --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.
|