playground/devtools/kdevelop4-extra-plugins/python/parser

Matt Rogers mattr at kde.org
Fri Jul 6 04:09:23 CEST 2007


On Jul 5, 2007, at 6:01 PM, Andreas Pakulat wrote:

> SVN commit 684033 by apaku:
>
> Add -fPIC, that seems to be the only option to use a static lib in  
> a plugin on
> 64Bit platforms
>
> CCing kde-buildsystem because I'm not sure this is the right thing  
> to do.
> Making it a shared library is a problem because parts of the code  
> is generated
> and the generator doesn't allow to add EXPORT macro's.
>
> The question is: Use -fPIC or build a shared lib that has  
> visibility=default
> instead of hidden?
>
> CCMAIL:kde-buildsystem at kde.org
>

Yes, this is wrong, IIRC. This needs to be a shared lib with its own  
export macro instead.
--
Matt




More information about the Kde-buildsystem mailing list