diff options
Diffstat (limited to 'binutils-2.37-cygwin-config-rpath.patch')
-rw-r--r-- | binutils-2.37-cygwin-config-rpath.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/binutils-2.37-cygwin-config-rpath.patch b/binutils-2.37-cygwin-config-rpath.patch new file mode 100644 index 0000000..1fe0b1b --- /dev/null +++ b/binutils-2.37-cygwin-config-rpath.patch @@ -0,0 +1,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 + |