Skip to content
This repository has been archived by the owner on Apr 14, 2024. It is now read-only.

Commit

Permalink
Merge pull request #11 from stickz/build-fix
Browse files Browse the repository at this point in the history
libtorrent: Use pkg-check to find zlib
  • Loading branch information
stickz authored Apr 13, 2024
2 parents 971d142 + e853b77 commit dc8be03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 146 deletions.
8 changes: 4 additions & 4 deletions libtorrent/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ TORRENT_WITH_INOTIFY
CC_ATTRIBUTE_VISIBILITY

AX_PTHREAD
AX_CHECK_ZLIB

PKG_CHECK_MODULES([ZLIB], [zlib])
PKG_CHECK_MODULES([CPPUNIT], [cppunit],, [no_cppunit="yes"])

CFLAGS="$PTHREAD_CFLAGS $CPPUNIT_CFLAGS $CFLAGS"
CXXFLAGS="$PTHREAD_CFLAGS $CPPUNIT_CFLAGS $CXXFLAGS"
LIBS="$PTHREAD_LIBS $CPPUNIT_LIBS $LIBS"
CFLAGS="$PTHREAD_CFLAGS $ZLIB_CFLAGS $CPPUNIT_CFLAGS $CFLAGS"
CXXFLAGS="$PTHREAD_CFLAGS $ZLIB_CFLAGS $CPPUNIT_CFLAGS $CXXFLAGS"
LIBS="$PTHREAD_LIBS $ZLIB_CFLAGS $CPPUNIT_LIBS $LIBS"

AC_ARG_ENABLE(openssl,
[ --disable-openssl Don't use OpenSSL's SHA1 implementation.],
Expand Down
142 changes: 0 additions & 142 deletions libtorrent/scripts/ax_check_zlib.m4

This file was deleted.

0 comments on commit dc8be03

Please sign in to comment.