mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03: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"
|
||||
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