[Development] Explicit linking vs dlopen/dlsym

Thiago Macieira thiago.macieira at intel.com
Tue Nov 25 04:58:16 CET 2014


On Monday 24 November 2014 19:35:33 Thiago Macieira wrote:
> > default configure options. At the moment, we have to pass an insane amount
> > of -system-libfoo and -linked-libbar switches.
> 
> Agreed.
> 
> I'm already changing the D-Bus switch to default to linked unless you're on 
> OS X. You could argue that it should be the default even on OS X...

Actually, the reason that you *need* to pass -system-xxx on distributions is 
to make sure that Qt will use the system lib. In other words, if you forget 
your BuildRequires: tag, the build for Qt should fail. If you let the default 
on, it's possible that Qt will accidentally use the bundled copy.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list