]> git.ipfire.org Git - thirdparty/unbound.git/commit
- Reduce unnecessary linking 511/head
authorChih-Hsuan Yen <yan12125@gmail.com>
Fri, 23 Jul 2021 05:23:05 +0000 (13:23 +0800)
committerChih-Hsuan Yen <yan12125@gmail.com>
Fri, 6 Aug 2021 14:33:22 +0000 (22:33 +0800)
commit98087a051e657c4604050c3d1e6735950b9ea76f
treeb3be4884a73ab65e4c0bece7909af00ea29ee7c0
parent8e538dcaa8df2d0fab8ff3dcf94ac1f972450b66
- Reduce unnecessary linking

- Link to libpython only when needed, fixes #242

When pyunbound is enabled while pythonmodule is not (i.e., ./configure
--without-pythonmodule --with-pyunbound), only the Python library
_unbound.so uses Python functions, and main programs (unbound,
unbound-anchor, ...) and libunbound.so do not. This patch removes
unneeded linking.

- Link the Python library _unbound.so to Python only. _unbound.so does
  not directly use libraries used by libunbound. This patch removes
  unneeded linking mentioned in [1]

[1] https://github.com/NLnetLabs/unbound/pull/511#issuecomment-886072003
Makefile.in
configure.ac