summaryrefslogtreecommitdiff
path: root/recipes/mingw-runtime.recipe
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mingw-runtime.recipe')
-rw-r--r--recipes/mingw-runtime.recipe6
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes/mingw-runtime.recipe b/recipes/mingw-runtime.recipe
index fe38ef9d..6c14f0ee 100644
--- a/recipes/mingw-runtime.recipe
+++ b/recipes/mingw-runtime.recipe
@@ -50,7 +50,11 @@ class Recipe(recipe.Recipe):
os.makedirs(os.path.join(self.config.prefix, 'bin'))
if not os.path.exists(os.path.join(self.config.prefix, 'lib')):
os.makedirs(os.path.join(self.config.prefix, 'lib'))
- for f in ['libstdc++-6', 'libgomp-1', 'libwinpthread-1']:
+ for f in ['libwinpthread-1']:
+ shutil.copy(
+ os.path.join(self.config.toolchain_prefix, 'bin', f + '.dll'),
+ os.path.join(self.config.prefix, 'bin', f + '.dll'))
+ for f in ['libgomp-1', 'libstdc++-6']:
shutil.copy(
os.path.join(self.config.toolchain_prefix, binmingw, f + '.dll'),
os.path.join(self.config.prefix, 'bin', f + '.dll'))