From d06042cab2a526f8117f76ec79d02df1e1975366 Mon Sep 17 00:00:00 2001 From: Giacomo Lacava Date: Mon, 6 Jan 2014 10:38:00 +0000 Subject: [PATCH] explicit paths in LDFLAGS and CPPFLAGS Libtorrent build script needs explicit LDFLAGS and CPPFLAGS to work properly. --- doc/build-osx.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/build-osx.md b/doc/build-osx.md index 0a6d400e..0a484092 100644 --- a/doc/build-osx.md +++ b/doc/build-osx.md @@ -71,6 +71,8 @@ Instead, it's enough to make sure the right openssl binary is on your $PATH: export BOOST_INCLUDE_PATH=/usr/local/opt/boost/include export BOOST_LIB_PATH=/usr/local/opt/boost/lib export BOOST_LIB_SUFFIX=-mt + export LDFLAGS="-L$OPENSSL_LIB_PATH -L$BDB_LIB_PATH -L$BOOST_LIB_PATH" + export CPPFLAGS="-I$OPENSSL_INCLUDE_PATH -I$BDB_INCLUDE_PATH -I$BOOST_INCLUDE_PATH" 3. Build libtorrent