]> git.vpit.fr Git - perl/modules/indirect.git/commitdiff
Force linking against the perl dll when using gcc 3.4 on Windows
authorVincent Pit <vince@profvince.com>
Tue, 5 Mar 2013 00:12:52 +0000 (21:12 -0300)
committerVincent Pit <vince@profvince.com>
Tue, 5 Mar 2013 00:15:43 +0000 (21:15 -0300)
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