Aloha,
the shared object in one of my modules, Gtk2::MozEmbed, needs to be
linked in a way that makes sure the Mozilla libs can be found at run
time. For this to work, libgtkmozembed's pkg-config file[1] specifies
that "-Wl,-rpath -Wl,${libdir}" be used as arguments to the linker.
Unfortunately, ExtUtils::MakeMaker strips linker flags that don't look
like -lxxx[2].
I've been using LD_RUN_PATH as a workaround, but apparently that stopped
working some time ago.
So, is this a bug in EU::MM? Or is the stripping done intentionally?
If it's not a bug, what do I do if there are vital linker flags like the
above?
--
Bye,
-Torsten
[1] Usually /usr/lib/{firefox,mozilla}-gtkmozembed.pc.
[2] In lib/ExtUtils/Liblist/Kid.pm, sub _unix_os2_ext.