makemaker  

Re: '()' escaped to '\(\)' is breaking my build

Michael G Schwern
Wed, 16 Dec 2009 17:26:40 -0800

Dave Anderson wrote:
The key line is:

LDDLFLAGS => '-libpath:"c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\lib"
The parenthesis are annoyingly escaped when creating the Makefile:

LDDLFLAGS = -libpath:"c:\Program Files \(x86\)\Microsoft Visual Studio 9.0\VC\lib" -libpath:"c:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib"
Which breaks the build on Windows. The INC attribute doesn't do that so why does LDDLFLAGS? I've tried moving those options into LD but it has the same problem. For now I'm going to have to modify the generated Makefile each time I call Makefile.PL.

Sorry about that.

Please attach your Makefile and a copy of the build error, then we can get started investigating.


--
package Outer::Space;  use Test::More tests => 9;