php: Look for libraries in ${baselib} rather than lib
php: Look for libraries in ${baselib} rather than lib

It fails to look for libraries when we use lib64 for baselib,
use --with-libdir option to specify the correct directory.

$ ./configure --help|grep '\-\-with-libdir'
 --with-libdir=NAME      Look for libraries in .../NAME rather than .../lib

Signed-off-by: Jackie Huang <49ec7cfe045884df7178a7e982697c7043dbc82b@windriver.com>
Signed-off-by: Martin Jansa <516df3ff67e1fa5d153800b15fb204c0a1a389dc@gmail.com>

fredcadete/meta-openembedded,schnitzeltony/meta-openembedded,rdm-dev/meta-openembedded,RedFIR/meta-openembedded,lgirdk/meta-openembedded,joelagnel/meta-openembedded,epylar/meta-openembedded,rehsack/meta-openembedded,kraj/meta-openembedded,mrchapp/meta-openembedded,fredcadete/meta-openembedded,rofehr/meta-openembedded,dm8tbr/kodi-wip,shr-distribution/meta-oe,fredcadete/meta-openembedded,rehsack/meta-openembedded,rofehr/meta-openembedded,fredcadete/meta-openembedded,moto-timo/meta-openembedded,openembedded/meta-openembedded,RedFIR/meta-openembedded,amery/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,lgirdk/meta-openembedded,amery/meta-openembedded,rdm-dev/meta-openembedded,lixinfnst/meta-openembedded,dm8tbr/kodi-wip,RedFIR/meta-openembedded,rofehr/meta-openembedded,MCherifiOSS/meta-openembedded,shr-distribution/meta-oe,RedFIR/meta-openembedded,fredcadete/meta-openembedded,VCTLabs/meta-openembedded,amery/meta-openembedded,MCherifiOSS/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,victronenergy/meta-openembedded,kraj/meta-openembedded,amery/meta-openembedded,epylar/meta-openembedded,epylar/meta-openembedded,rehsack/meta-openembedded,lgirdk/meta-openembedded,joelagnel/meta-openembedded,shr-distribution/meta-oe,rofehr/meta-openembedded,kraj/meta-openembedded,dm8tbr/kodi-wip,victronenergy/meta-openembedded,victronenergy/meta-openembedded,fredcadete/meta-openembedded,joelagnel/meta-openembedded,schnitzeltony/meta-openembedded,victronenergy/meta-openembedded,amery/meta-openembedded,rofehr/meta-openembedded,amery/meta-openembedded,joelagnel/meta-openembedded,moto-timo/meta-openembedded,victronenergy/meta-openembedded,openembedded/meta-openembedded,openembedded/meta-openembedded,rehsack/meta-openembedded,shr-distribution/meta-oe,victronenergy/meta-openembedded,VCTLabs/meta-openembedded,mrchapp/meta-openembedded,moto-timo/meta-openembedded,openembedded/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,rdm-dev/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,mrchapp/meta-openembedded,schnitzeltony/meta-openembedded,schnitzeltony/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,openembedded/meta-openembedded,rofehr/meta-openembedded,fredcadete/meta-openembedded,lixinfnst/meta-openembedded,schnitzeltony/meta-openembedded,lixinfnst/meta-openembedded,moto-timo/meta-openembedded,MCherifiOSS/meta-openembedded,MCherifiOSS/meta-openembedded,kraj/meta-openembedded,lgirdk/meta-openembedded,sigma-embedded/elito-org.openembedded.meta,sigma-embedded/elito-org.openembedded.meta,openembedded/meta-openembedded,RedFIR/meta-openembedded,rdm-dev/meta-openembedded,kraj/meta-openembedded,epylar/meta-openembedded,openembedded/meta-openembedded,rehsack/meta-openembedded,epylar/meta-openembedded,VCTLabs/meta-openembedded,victronenergy/meta-openembedded,mrchapp/meta-openembedded,VCTLabs/meta-openembedded,schnitzeltony/meta-openembedded,lixinfnst/meta-openembedded,fredcadete/meta-openembedded,shr-distribution/meta-oe,lixinfnst/meta-openembedded,mrchapp/meta-openembedded,dm8tbr/kodi-wip,epylar/meta-openembedded,VCTLabs/meta-openembedded,VCTLabs/meta-openembedded,MCherifiOSS/meta-openembedded,rehsack/meta-openembedded,amery/meta-openembedded,kraj/meta-openembedded,epylar/meta-openembedded,rdm-dev/meta-openembedded,rofehr/meta-openembedded,amery/meta-openembedded,schnitzeltony/meta-openembedded,shr-distribution/meta-oe,shr-distribution/meta-oe,lgirdk/meta-openembedded,VCTLabs/meta-openembedded,dm8tbr/kodi-wip,joelagnel/meta-openembedded,RedFIR/meta-openembedded,lixinfnst/meta-openembedded,rdm-dev/meta-openembedded,rdm-dev/meta-openembedded,lgirdk/meta-openembedded,rofehr/meta-openembedded,lgirdk/meta-openembedded,MCherifiOSS/meta-openembedded,rehsack/meta-openembedded,joelagnel/meta-openembedded,RedFIR/meta-openembedded,mrchapp/meta-openembedded,openembedded/meta-openembedded,joelagnel/meta-openembedded,dm8tbr/kodi-wip,joelagnel/meta-openembedded,dm8tbr/kodi-wip,RedFIR/meta-openembedded,mrchapp/meta-openembedded,dm8tbr/kodi-wip,VCTLabs/meta-openembedded,rdm-dev/meta-openembedded,epylar/meta-openembedded,moto-timo/meta-openembedded,shr-distribution/meta-oe,kraj/meta-openembedded