question about libtool wrapper and plugins

2014-01-16 Thread Felix Salfelder
Hi there. i have a problem with LTLIBRARY modules and the executables wrapper. consider the following setup. project/lib/Makefile.am lib_LTLIBRARIES = library.la project/plugins/Makefile.am programdir = $(pkglibdir) program_LTLIBRARIES = plugin.la plugin_la_LDFLAGS = -module project/main/Makef

Re: question about libtool wrapper and plugins

2014-01-16 Thread Thomas Jahns
Hello Felix, not an automake issue, but... On 01/16/14 13:02, Felix Salfelder wrote: [rpath in uninstalled binary] The normal mode of using libtool to run the binary with adjusted paths in circumstances like yours is ./libtool --mode=execute main/program Regards, Thomas -- Thomas Jahns DKRZ G

Re: question about libtool wrapper and plugins

2014-01-16 Thread Felix Salfelder
Hi Thomas. thanks for your reply. On Thu, Jan 16, 2014 at 03:56:04PM +0100, Thomas Jahns wrote: > ./libtool --mode=execute main/program digging deeper, it looks like libtool cannot resolve this. it would have to guess the location from where files in ${pkglibdir} have come. or take some extra hi