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@kde.org
>

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


_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to