[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-developers] [patches] plugindir and multilib problem
From: |
Simon Morlat |
Subject: |
Re: [Linphone-developers] [patches] plugindir and multilib problem |
Date: |
Wed, 23 Jun 2010 12:01:19 +0200 |
Hi Peter,
I see two problems with these patches:
- breaks mingw32 compilation (plugin dir shoud
be ./lib/mediastreamer2/plugins)
- doesn't work if --prefix is not set (we get NONE/lib/mediastreamer2).
Sorry automake is sometimes stupid, this is exactly the reason why I
wasn't using libdir before.
Do you have any suggestions ?
Simon
Le vendredi 11 juin 2010 à 14:23 +0400, Peter Volkov a écrit :
> Hi, Simon. Could you review and apply some patches, please.
>
> Currently mediastreamer and linphone set plugins as $prefix/lib:
>
> AC_DEFINE_UNQUOTED(PACKAGE_PLUGINS_DIR,
> "${package_prefix}/lib/mediastreamer/plugins" ,[path of plugins])
>
> On multilib enabled systems there are /lib32 and /lib64 directories
> instead of /lib. So I'd like to propose use $libdir as a relative path
> for plugins that ./configure allows to set. Also for consistency I
> suggest to use $datadir for PACKAGE_DATA_DIR in mediastreamer.
>
> Another change in mediastreamer/linphone that might be useful is to
> define path to plugins inside .pc file.
>
> All changes above are in mediastreamer* and linphone* patches.
>
> With the above change approved it's good idea to use pkg-config in
> plugins (two patches for mediastreamer plugins).
>
> With best regards,
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/linphone-developers