]> git.vpit.fr Git - perl/modules/Variable-Magic.git/commitdiff
Force linking against the perl dll when using gcc 3.4 on Windows
authorVincent Pit <vince@profvince.com>
Thu, 23 Sep 2010 16:52:42 +0000 (18:52 +0200)
committerVincent Pit <vince@profvince.com>
Thu, 23 Sep 2010 16:57:49 +0000 (18:57 +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).

This (should) fix RT #51483.


No differences found