mirror of https://github.com/aria2/aria2
![]() Use pkg-config to find cppunit, libxml2 and expat. All those libraries provide pkg-config files, and in all of those cases the pkg-config macro is superior to the custom macros used currently. The advantages of pkg-config files include: - Explicit static linking support via --static. Currently, e.g. 'xml2-config --libs' prints all libraries needed for static linking when doing dynamic linking unnecessary, resulting in unnecessary direct deps. - Better cross-build support. You don't have to build the additional *-config tools for target. - Better multilib support. Per-ABI pkgconfig directories are commonly supported while packages usually fail to look for per-CHOST *-config variants. - Better override support. The current macros allow little to no result overrides, the pkg-config macros let you pass FOO_CFLAGS and FOO_LIBS manually. - Cleaner version checks. The code used in libxml.m4 is really creepy. |
||
---|---|---|
android | ||
deps | ||
doc | ||
examples | ||
lib | ||
m4 | ||
osx-package | ||
po | ||
src | ||
test | ||
.clang-format | ||
.gitignore | ||
.travis.yml | ||
AUTHORS | ||
COPYING | ||
ChangeLog | ||
ChangeLog.old | ||
Dockerfile.mingw | ||
Dockerfile.raspberrypi | ||
LICENSE.OpenSSL | ||
Makefile.am | ||
NEWS | ||
README | ||
README.android | ||
README.mingw | ||
README.rst | ||
android-config | ||
android-make | ||
android-release | ||
build_test.sh | ||
configure.ac | ||
import-po | ||
makerelease | ||
makerelease-osx.mk | ||
mingw-build-memo | ||
mingw-config | ||
mingw-release | ||
script-helper |
README
See README.rst