Paul - Why use pkg_config when you can simply use "include_dirs" and "extra_linker_flags" (or their equivalent in EU::MM)? This is how I do things with Alien::TinyCC. See the Synopsis<https://metacpan.org/pod/Alien::TinyCC>. Or is this approach insufficient for unibilium?
David On Mon, Jan 6, 2014 at 2:28 PM, Paul "LeoNerd" Evans <leon...@leonerd.org.uk > wrote: > On Mon, 6 Jan 2014 11:12:49 -0800 > Ryan Voots <simcop2...@simcop2387.info> wrote: > > > You can probably have Module::Build and such play with the > > PKG_CONFIG_PATH env variable to fill out where it should be. > > Hah, if only it were so simple... > > The trouble with non-standard install locations is that in general the > paths needs to be fixed. Right now I have no better way of doing that > than the hideous hack that is: > > > https://metacpan.org/source/PEVANS/Alien-unibilium-0.11/lib/Alien/unibilium.pm#L78 > and > > https://metacpan.org/source/PEVANS/Alien-unibilium-0.11/lib/Alien/unibilium.pm#L92 > > Without those two things, it won't be sufficient to simply set the > PKG_CONFIG_PATH. > > -- > Paul "LeoNerd" Evans > > leon...@leonerd.org.uk > ICQ# 4135350 | Registered Linux# 179460 > http://www.leonerd.org.uk/ > -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." -- Brian Kernighan