1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
--- a/config.rpath +++ b/config.rpath @@ -438,7 +438,14 @@ bsdi4*) ;; cygwin* | mingw* | pw32*) - shrext=.dll + case "$TOOLCHAIN_TARGET" in + i686-w64-mingw32 | x86_64-w64-mingw32) + shrext=.dll.a + ;; + *) + shrext=.dll + ;; + esac ;; darwin* | rhapsody*) shrext=.dylib