From: Vincent Pit Date: Tue, 5 Mar 2013 00:12:52 +0000 (-0300) Subject: Force linking against the perl dll when using gcc 3.4 on Windows X-Git-Tag: rt83659~1 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Findirect.git;a=commitdiff_plain;h=4e2370e14767646be62be5902c16580a75a55eed;hp=4e2370e14767646be62be5902c16580a75a55eed Force linking against the perl dll when using gcc 3.4 on Windows 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). ---