summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2013-07-11 19:48:09 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2013-07-11 19:48:28 +0200
commita472a4089e9c2e59c92ee252ebf2c27638cd3fdf (patch)
tree7e2abe4c2393ff139a31226d19cf5461d00fe856
parent644b2c4f00386d8c4dcded19f7f4d6d071302497 (diff)
mingw-runtime: fix paths in linux
-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 fe38ef9..6c14f0e 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'))