aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/rake-compiler-dock/Dockerfile
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2016-01-29 06:49:46 +0100
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2016-01-29 06:49:46 +0100
commit2283ff6638739da590332bd987380205996a0e27 (patch)
tree06b4cc8bc94e3dca928889ae44bb70f1926a4a60 /third_party/rake-compiler-dock/Dockerfile
parent1723044a12550341413c87480f839792d9b3fde0 (diff)
Fixing dll hell.
Diffstat (limited to 'third_party/rake-compiler-dock/Dockerfile')
-rw-r--r--third_party/rake-compiler-dock/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/third_party/rake-compiler-dock/Dockerfile b/third_party/rake-compiler-dock/Dockerfile
index 11a6bd7796..435a0926dc 100644
--- a/third_party/rake-compiler-dock/Dockerfile
+++ b/third_party/rake-compiler-dock/Dockerfile
@@ -93,6 +93,9 @@ RUN mv /opt/mingw/mingw32/bin/i686-w64-mingw32-strip /opt/mingw/mingw32/bin/i686
RUN find / -name rbconfig.rb | while read f ; do sed -i 's/0x0501/0x0600/' $f ; done
RUN find / -name win32.h | while read f ; do sed -i 's/gettimeofday/rb_gettimeofday/' $f ; done
RUN sed -i 's/defined.__MINGW64__.$/1/' /usr/local/rake-compiler/ruby/i686-w64-mingw32/ruby-2.0.0-p645/include/ruby-2.0.0/ruby/win32.h
+RUN find / -name libwinpthread.dll.a | while read f ; do rm $f ; done
+RUN find / -name libwinpthread-1.dll | while read f ; do rm $f ; done
+RUN find / -name *msvcrt-ruby*.dll.a | while read f ; do n=`echo $f | sed s/.dll//` ; mv $f $n ; done
# Install SIGINT forwarder
COPY build/sigfw.c /root/