gcc: don't install *.dlls to version specific directory

any side-by-side installs will use targets as a higher level directory separation, we don't want to mix libs built with different versions of the compiler.
This commit is contained in:
Tony Theodore 2015-12-02 21:16:12 +11:00
parent c0b12c17f8
commit ae8f6def5c
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ define $(PKG)_POST_BUILD
# ignore rm failure as parallel build may have cleaned up, but
# don't wildcard all libs so future additions will be detected
$(and $(BUILD_SHARED),
mv -v '$(PREFIX)/lib/gcc/$(TARGET)/$($(PKG)_VERSION)/'*.dll '$(PREFIX)/$(TARGET)/bin/gcc-$($(PKG)_VERSION)/'
mv -v '$(PREFIX)/lib/gcc/$(TARGET)/$($(PKG)_VERSION)/'*.dll '$(PREFIX)/$(TARGET)/bin/'
-rm -v '$(PREFIX)/lib/gcc/$(TARGET)/'libgcc_s*.dll
-rm -v '$(PREFIX)/lib/gcc/$(TARGET)/lib/'libgcc_s*.a
-rmdir '$(PREFIX)/lib/gcc/$(TARGET)/lib/')