changeset 6337:c680e53cd4cb

Move mingw symlink
author Masamichi Hosoda <trueroad@users.noreply.github.com>
date Tue, 03 Feb 2015 22:16:36 +0900
parents cdec5ee5e600
children fca2336b2266
files gub/specs/cross/gcc.py gub/specs/mingw-w64-runtime.py
diffstat 2 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/gub/specs/cross/gcc.py	Tue Feb 03 22:11:50 2015 +0900
+++ b/gub/specs/cross/gcc.py	Tue Feb 03 22:16:36 2015 +0900
@@ -112,12 +112,6 @@
                 + misc.join_lines ('''
 --enable-threads=posix
 '''))
-    def patch (self):
-        Gcc.patch (self)
-        self.system('''
-ln -s usr/ %(system_root)s/mingw || true
-'''
-        )
     def get_subpackage_definitions (self):
         d = cross.AutoBuild.get_subpackage_definitions (self)
         prefix_dir = self.settings.prefix_dir
--- a/gub/specs/mingw-w64-runtime.py	Tue Feb 03 22:11:50 2015 +0900
+++ b/gub/specs/mingw-w64-runtime.py	Tue Feb 03 22:16:36 2015 +0900
@@ -32,4 +32,5 @@
 rm -f %(install_prefix)s/include/iconv.h # for fontconfig failure
 rm -f %(install_prefix)s/lib/libiconv.a # for ghostscript failure
 rm -fr %(srcdir)s/mingw32/
+ln -s usr/ %(install_root)s/mingw
 ''', locals ())