Change oe_libinstall (watch carefully):
If the user requires the installation of a static library and it
does not exist we want the user to notice and fail. I assume this
was then intended purpose for the requirestatic variable.
The matter for the dotlai (.lai) is a bit different. The system
automatically detects the .la file and assumes it is libtool generated
and wants to install the .lai file even if it does not exist. I think
this is wrong and I change it to do the following:
If it decides it has libtool it installs the .lai if it is present.
(change the -o to -a)
At least Qt Version 3 has a .la but no .lai in its library directory
and oe_libinstall fails to install.
__runcmd install -m 0644 $dota $destpath/
fi
dotlai=$libname.lai
- if [ -f "$dotlai" -o -n "$libtool" ]; then
+ if [ -f "$dotlai" -a -n "$libtool" ]; then
__runcmd install -m 0644 $dotlai $destpath/$libname.la
fi