Bugzilla – Bug 185
./configure --disable-shared still builds shared objects
Last modified: 2008-06-02 14:14:04 CEST
Created attachment 66 [details]
Pass --disable-shared to sub-configure
On a system that is capable of building shared objects but on which I do not want to use them, I tried to invoke configure with "--disable-shared --enable-static".
For the unbound commponent, configure accepted that (checking whether to build shared libs... no), but did not pass the switches to the subordinate configure's in ldns (patch to fix that is attached).
Additionally, the unbound build still built a shared libunbound.so, and even linked unbound-host against the it.
Manually modifying the libunbound.la (removing the shared lib refs) and rebuilding unbound-host helped.
Thank you for the bugreport and patch (AC_CONFIG_SUBDIRS is even neater as a solution). It is fixed in svn trunk r1103.
Best regards, Wouter