WITH_PREFIX for kdemodules?

Harri Porten porten at froglogic.com
Thu Nov 1 21:38:02 GMT 2007


On Thu, 1 Nov 2007, Thiago Macieira wrote:

>>>> I was chatting with dirk about this once and he convinced me that it's
>>>> a nice feature to have on Linux where it's possible to use the lib as
>>>> plugin and shared lib at the same time. E.g. applications like konsole
>>>> that provide a KPart and a shell. To save some startup time konsole on
>>>> Linux could link to it's part instead of dlopening it.

What I still see left of this argument is that on Unix linking via -lfoo 
is more convenient and better than linking against a hardcoded libfoo.so 

I wouldn't mind using "lib" on Unix but I think we should definitely 
define a rule for the convention on each platform. Now. This would 
simplify plugin loading code. At the same time entries like 
kshorturifilter.desktop should be normalized

   - X-KDE-Library=libkshorturifilter
   + X-KDE-Library=kshorturifilter

to simplify things.


More information about the kde-core-devel mailing list