summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2014-04-06 07:36:05 (GMT)
committerTony Theodore <tonyt@logyst.com>2014-04-06 07:36:28 (GMT)
commite9fa2e05c67276c7eed7080d61541d2741f317b1 (patch)
tree37a200d369d7be5553d10a2ad1f5a5e8973ded61
parenta010c38bbc433ab9fe57597df70f2716810abd7d (diff)
downloadmxe-e9fa2e05c67276c7eed7080d61541d2741f317b1.zip
mxe-e9fa2e05c67276c7eed7080d61541d2741f317b1.tar.gz
mxe-e9fa2e05c67276c7eed7080d61541d2741f317b1.tar.bz2
package gcc: install shared .dlls to $(TARGET)/bin
fixes #358
-rw-r--r--src/gcc.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gcc.mk b/src/gcc.mk
index d00c698..b9d6c90 100644
--- a/src/gcc.mk
+++ b/src/gcc.mk
@@ -58,6 +58,7 @@ define $(PKG)_POST_BUILD
# TODO: find a way to configure the installation of these correctly
rm -f $(addprefix $(PREFIX)/$(TARGET)/bin/, c++ g++ gcc gfortran)
-mv '$(PREFIX)/lib/gcc/$(TARGET)/lib/'* '$(PREFIX)/lib/gcc/$(TARGET)/$($(PKG)_VERSION)/'
+ -cp '$(PREFIX)/lib/gcc/$(TARGET)/'*.dll '$(PREFIX)/$(TARGET)/bin/'
-mv '$(PREFIX)/lib/gcc/$(TARGET)/'*.dll '$(PREFIX)/lib/gcc/$(TARGET)/$($(PKG)_VERSION)/'
endef