From: Vincent Pit Date: Mon, 3 Jan 2011 14:46:33 +0000 (+0100) Subject: Force linking against the perl dll when using gcc 3.4 on Windows X-Git-Tag: v0.10~5 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=48bb92f016120656801f1920c9ef680201afe0a9;hp=48bb92f016120656801f1920c9ef680201afe0a9;p=perl%2Fmodules%2FLexical-Types.git 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). This change is the integration of commit 14f8af2 from Variable::Magic's repository. ---