]> git.vpit.fr Git - perl/modules/Scope-Upper.git/commitdiff
Force linking against the perl dll when using gcc 3.4 on Windows
authorVincent Pit <vince@profvince.com>
Fri, 21 Sep 2012 14:07:13 +0000 (16:07 +0200)
committerVincent Pit <vince@profvince.com>
Fri, 21 Sep 2012 14:07:13 +0000 (16:07 +0200)
When a Windows perl links an XS shared object to an import library using
gcc/g++ version 3.4.x, strange breakage happens at load time because the
mutex-related symbols seems not to be reachable. This situation happens
especially for AS perl and the default compiler suite it installs.

We fix this by forcing g++ to link against the dll instead, which should
be in the same directory as the perl executable (at least for AS perl).


No differences found