gcc: fix mingw build after closure-size merge

This may also (help to) fix also other less usual configurations.
This commit is contained in:
Vladimír Čunát 2016-04-18 10:24:28 +02:00
parent 60d6c5a92b
commit 90ee003240

View file

@ -210,10 +210,14 @@ preInstall() {
postInstall() {
mkdir -p "$lib" # some configs don't have anything to put into $lib
# Move runtime libraries to $lib.
moveToOutput "lib/lib*.so*" "$lib"
moveToOutput "lib/lib*.la" "$lib"
if [ -d "$lib/lib" ]; then
ln -s lib "$lib/lib64" # for *.la
fi
moveToOutput "share/gcc-*/python" "$lib"
for i in "$lib"/lib/*.{la,py}; do