gcc: fix mingw build after closure-size merge
This may also (help to) fix also other less usual configurations.
This commit is contained in:
parent
60d6c5a92b
commit
90ee003240
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue