[ldns-users] building in a separate directory?
Michael Tokarev
mjt at tls.msk.ru
Sun Sep 4 16:13:46 UTC 2022
Hi!
Does ldns support building in a separate directory which
is different from the source dir?
Looking at the Makefile.in it should, due to usage of
$(srcdir)/ everywhere. But apparently it does not.
For example, doxygen documentation can't be built because
libdns.doxygen file is generated in the build dir but
makefile refers to it as $(srcdir)/libdns.doxygen.
After fixing that one, it still fails because doxygen
can't find files in doc/ and examples/ which actually
*are* in $(srcdir), not in build dir.
I already had to patch contrib/python/ldns.i for exactly
this too:
-#include "ldns.h"
+#include "ldns/ldns.h"
This happens with 1.8.1 and 1.8.3 versions.
Thanks!
/mjt
More information about the ldns-users
mailing list