gcc: Put *.la files in $lib/lib as well
Otherwise libtool gets confused.
This commit is contained in:
parent
8a1d96ec4d
commit
f9523bf1e8
@ -208,7 +208,11 @@ preInstall() {
|
||||
postInstall() {
|
||||
# Move runtime libraries to $lib.
|
||||
mkdir -p $lib/lib
|
||||
mv -v $out/lib/lib*.so $out/lib/lib*.so.*[0-9] $lib/lib/
|
||||
ln -s lib $lib/lib64
|
||||
mv -v $out/lib/lib*.so $out/lib/lib*.so.*[0-9] $out/lib/*.la $lib/lib/
|
||||
for i in $lib/lib/*.la; do
|
||||
substituteInPlace $i --replace $out $lib
|
||||
done
|
||||
|
||||
# Remove precompiled headers for now. They are very big and
|
||||
# probably not very useful yet.
|
||||
|
Loading…
Reference in New Issue
Block a user