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. -- Tuomas
signature.asc
Description: OpenPGP digital signature
_______________________________________________ maemo-developers mailing list [email protected] https://lists.maemo.org/mailman/listinfo/maemo-developers
