commit cf8cda1afc818791d49de1df9db9bdb310be8d5e parent 32b4be43751419047ed8f258600c7b97899c7264 Author: sin <sin@2f30.org> Date: Tue, 22 Jul 2014 13:10:35 +0100 Build rtorrent against libressl Diffstat:
M | libtorrent/libtorrent.mk | | | 6 | +++--- |
M | rtorrent/rtorrent.mk | | | 6 | +++--- |
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/libtorrent/libtorrent.mk b/libtorrent/libtorrent.mk @@ -1,13 +1,13 @@ TARG = libtorrent -DEPS = openssl libsigcpp +DEPS = libressl libsigcpp <$mkbuild/mk.common-noinst libtorrent:QV: export CFLAGS="$CFLAGS $DEPS_CFLAGS" export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" - export OPENSSL_CFLAGS="-I${openssl_includedir}" - export OPENSSL_LIBS="-L${openssl_libdir} -lssl -lcrypto -lz" + export OPENSSL_CFLAGS="-I${libressl_includedir}" + export OPENSSL_LIBS="-L${libressl_libdir} -lssl -lcrypto -lz" export STUFF_CFLAGS="-I${libsigcpp_includedir} -I${libsigcpp_libdir}/sigc++-2.0/include" export STUFF_LIBS="-L${libsigcpp_libdir} -lsigc-2.0" # diff --git a/rtorrent/rtorrent.mk b/rtorrent/rtorrent.mk @@ -1,5 +1,5 @@ TARG = rtorrent -DEPS = ncurses zlib openssl libtorrent libsigcpp curl +DEPS = ncurses zlib libressl libtorrent libsigcpp curl INSTALL_BIN = src/rtorrent INSTALL_MAN1 = doc/rtorrent.1 @@ -10,8 +10,8 @@ rtorrent:QV: export CPPFLAGS="$CFLAGS" export CXXFLAGS="$CFLAGS" export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" - export libcurl_CFLAGS="-I${curl_includedir} -I${openssl_includedir}" - export libcurl_LIBS="-L${curl_libdir} -lcurl -L${openssl_libdir} -lssl -lcrypto -L${zlib_libdir} -lz" + export libcurl_CFLAGS="-I${curl_includedir} -I${libressl_includedir}" + export libcurl_LIBS="-L${curl_libdir} -lcurl -L${libressl_libdir} -lssl -lcrypto -L${zlib_libdir} -lz" export sigc_CFLAGS="-I${libsigcpp_includedir} -I${libsigcpp_libdir}/sigc++-2.0/include" export sigc_LIBS="-L${libsigcpp_libdir} -lsigc-2.0" export libtorrent_CFLAGS="-I${libtorrent_includedir}"