# from Patrick LeBoutillier
# on Wednesday 12 April 2006 05:04 pm:
>However, I can't figure out
>how to properly pass a library path containing a space to the LIBS
> parameter of ExtUtils::MakeMaker::WriteMakefile.
>
>LIBS => ['-L /tmp/a b c -ljvm']
>LIBS => ['-L "/tmp/a b c" -ljvm']
>LIBS => ['"-L /tmp/a b c" -ljvm']
Maybe
LIBS => ["\\\"-L/tmp/a b c\\\" -ljvm"]
LIBS => ['-L/tmp/a\\ b\\ c -ljvm']
Though I'm not sure how windows is going to behave there. Also, if
EU::MM is trying to do some parsing on its own, that would cause
trouble because I think what you want is to get some escaped spaces
through to the shell through perl and then make. M::B sound good
yet? :-)
>All generate 'Unrecognized argument in LIBS ignored: ...' errors.
What version of EU::MM ? I don't find that anywhere in 6.30.
Maybe that explains the need for Inline::C::fix_make()
--Eric
--
"Unthinking respect for authority is the greatest enemy of truth."
--Albert Einstein
---------------------------------------------------
http://scratchcomputing.com
---------------------------------------------------