mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
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
@ -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"
|
||||
ln -s lib "$lib/lib64" # for *.la
|
||||
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 New Issue
Block a user