Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@gubatron
Created September 12, 2014 20:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gubatron/20167bfa8b3ff4d0e0f1 to your computer and use it in GitHub Desktop.
Save gubatron/20167bfa8b3ff4d0e0f1 to your computer and use it in GitHub Desktop.
configure libtorrent (macosx)
export CC=clang
export CXX=clang
export CFLAGS="-O3 -DTORRENT_USE_IPV6=1"
export CXXFLAGS=-O3
./configure \
--enable-shared \
--enable-static \
--enable-debug \
--enable-tests \
--enable-examples \
--enable-python-binding \
--disable-deprecated-functions \
@gubatron
Copy link
Author

export CC=clang
export CXX=clang
export CFLAGS="-O3 -DTORRENT_USE_IPV6=1"
export CXXFLAGS=-O3

./configure --enable-shared --enable-static --enable-debug --enable-python-binding --disable-deprecated-functions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment