Skip to content

Instantly share code, notes, and snippets.

@stevenroose
Created January 26, 2020 03:31
Show Gist options
  • Save stevenroose/70b24e75bf42ee6e3b634b466d6aa1ec to your computer and use it in GitHub Desktop.
Save stevenroose/70b24e75bf42ee6e3b634b466d6aa1ec to your computer and use it in GitHub Desktop.
OSX build file for Dino
#!/bin/sh
export CPATH="/usr/local/include:$CPATH"
export LDFLAGS="-L/usr/local/lib $LDFLAGS"
export PATH="/usr/local/opt/gettext/bin:$PATH"
export LDFLAGS="-L/usr/local/opt/gettext/lib $LDFLAGS"
export CPPFLAGS="-I/usr/local/opt/gettext/include $CPPFLAGS"
export PATH="/usr/local/opt/icu4c/bin:$PATH"
export PATH="/usr/local/opt/icu4c/sbin:$PATH"
export LDFLAGS="-L/usr/local/opt/icu4c/lib $LDFLAGS"
export CPPFLAGS="-I/usr/local/opt/icu4c/include $CPPFLAGS"
export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig:$PKG_CONFIG_PATH"
export PATH="/usr/local/opt/libxml2/bin:$PATH"
export LDFLAGS="-L/usr/local/opt/libxml2/lib $LDFLAGS"
export CPPFLAGS="-I/usr/local/opt/libxml2/include $CPPFLAGS"
export PKG_CONFIG_PATH="/usr/local/opt/libxml2/lib/pkgconfig:$PKG_CONFIG_PATH"
export PATH="/usr/local/opt/harfbuzz/bin:$PATH"
export LDFLAGS="-L/usr/local/opt/harfbuzz/lib $LDFLAGS"
export LDFLAGS="-L/usr/local/opt/harfbuzz/lib/harfbuzz $LDFLAGS"
export CPPFLAGS="-I/usr/local/opt/harfbuzz/include $CPPFLAGS"
export CPPFLAGS="-I/usr/local/opt/harfbuzz/include/harfbuzz $CPPFLAGS"
export PKG_CONFIG_PATH="/usr/local/opt/harfbuzz/lib/pkgconfig:$PKG_CONFIG_PATH"
export CPPFLAGS="-I/usr/local/include/harfbuzz $CPPFLAGS"
echo "PATH=$PATH"
echo "CPATH=$CPATH"
echo "PKG_CONFIG_PATH=$PKG_CONFIG_PATH"
./configure --with-libsignal-in-tree --disable-plugin=openpgp && \
echo "configure done" && \
make clean && \
make && \
echo "make done"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment