diff options
Diffstat (limited to 'recipes/mingw.recipe')
-rw-r--r-- | recipes/mingw.recipe | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/recipes/mingw.recipe b/recipes/mingw.recipe index f30dc9d..431a23c 100644 --- a/recipes/mingw.recipe +++ b/recipes/mingw.recipe @@ -10,7 +10,7 @@ class Recipe(recipe.Recipe): btype = BuildType.CUSTOM stype = SourceType.CUSTOM - files_libs = ['libwinpthread', 'libgcc_s_sjlj'] + files_libs = ['libgcc_s_sjlj'] files_satic = [] files_headers = ['include/GL'] @@ -35,16 +35,10 @@ class Recipe(recipe.Recipe): raise FatalError("%s can only be installed on Windows" % self.name) if self.config.platform == Platform.WINDOWS: - binmingw = 'bin' libmingw = 'lib' else: - binmingw = os.path.join(self.config.host, 'lib') - libmngw = binmingw + libmingw = os.path.join(self.config.host, 'lib') # copy some dll's required at runtime - for f in ['libwinpthread-1']: - shutil.copy( - os.path.join(self.config.toolchain_prefix, binmingw, f + '.dll'), - os.path.join(self.config.prefix, 'bin', f + '.dll')) for f in ['libgcc_s_sjlj-1']: shutil.copy( os.path.join(self.config.toolchain_prefix, libmingw, f + '.dll'), |