[maemo-developers] control panel applet

From: Fred Fred at Lefevere-Laoide.net
Date: Tue Nov 20 18:58:28 EET 2007
Tuomas Kulve a écrit :
> Fred wrote:
>> Tuomas Kulve a écrit :
>>> Fred wrote:
>>>> Hi,
>>>>
>>>> I can't seem to be able to find a proper way to tell autotools
>>>> (dpkg-buildpackage ?) to install the lib for my control panel applet
>>>> in the right location.
>>>>
>>>> Any hint ?
>>> At least on Chinook:
>>>
>>> pkg-config hildon-control-panel --variable=pluginlibdir
>>>
>>>
>> My problem is more on te configure/makefile part : how to tell it to use
>> pluginlibdir as destination for install
>>
>> my lib is gnerated with lib_LTLIBRARIES and gets installed in <prefix>/lib
> 
> I think goes like this:
> 
> configure.ac:
> plugindir=`pkg-config hildon-control-panel --variable=pluginlibdir`
> AC_SUBST(plugindir)
> 
> Makefile.am:
> plugin_LTLIBRARIES = myplugin.la
> 
> myplugin_la_SOURCES = ...
> etc.
> 
> 
Oh I see ... the difference is in the "plugin_LTLIBRARIES" vs 
"lib_LTLIBRARIES" !

Thanks a lot Tuomas
I'll try that asap ;)

Fred


More information about the maemo-developers mailing list