GNOME Bugzilla – Bug 169123
[build] false dependence on libxml2 if registry is enabled
Last modified: 2005-03-09 08:45:11 UTC
Please describe the problem: ./configure --disable-loadsave still checks for libxml2 and links against libxml2 even though registry uses gmarkup instead of xml2. Steps to reproduce: 1. ./configure --disable-loadsave 2. make && sudo make install 3. ldd /usr/lib/libgstreamer*.so | grep libxml2 Actual results: Shows dependence on libxml2 that is unneeded. Expected results: Should have no dependence on libxml2. Does this happen every time? yes Other information: Will attach a patch.
Created attachment 38219 [details] [review] does not patch to remove unnecessary check for and link against libxml2 if --disable-loadsave is asserted. proposed patch
We can't rename symbols. I'll apply the configure.ac part, though.
It won't build without more than the configure.ac part. I'll generate a new patch without the renaming.
Created attachment 38233 [details] [review] revised patch Patch revised not to change symbol names. Also added ifdef's around gst_file_index_plugin_init which is not linked in if --disable-loadsave is asserted.
Thanks, applied.