Fix libdevmapper deferred removal detection
Fix libdevmapper deferred removal detection

When linking, position of `-l` flags is important since
they muse come _after_ any object files which uses symbols
from a specified library, that is due to --as-needed binutils
ld flag enabled by default

Signed-off-by: Maxim Ivanov <5c17a695ee5e959af44597966146e38201d07d77@gmail.com>

vijaykilari/docker,shin-/docker.github.io,sanjeo/docker,x1022as/docker,moxiegirl/docker,yongtang/docker,whuwxl/docker,scollier/docker,raja-sami-10p/moby,moul/docker,brahmaroutu/docker,ndeloof/docker,erikstmartin/docker,docker-zh/docker.github.io,q384566678/docker,icaoweiwei/docker,POLJM242/docker,tkopczynski/docker,afein/docker,hypriot/docker,jhorwit2/docker,noironetworks/docker,dmcgowan/docker,sanscontext/docker.github.io,laijs/moby,BSWANG/denverdino.github.io,dgageot/docker,BenHall/docker,medallia/docker,darrenstahlmsft/moby,bdwill/docker.github.io,pyotr777/docker,darrenstahlmsft/moby,tmp6154/docker,yosifkit/docker,Mokolea/docker,mixja/docker,sfsmithcha/docker,BenHall/docker,harche/docker,scollier/docker,maxamillion/docker,fcrisciani/docker,jlhawn/docker,dongjoon-hyun/docker,mahak/docker,noxiouz/docker,bfirsh/docker,nghiant2710/docker,toli/docker,dgageot/docker,gigidwan/docker,jc-m/docker,duglin/docker,naveed-jamil-tenpearls/moby,johnstep/docker.github.io,paralin/docker,shubheksha/docker.github.io,13W/docker,geekylucas/docker,nguyentm83/docker,rhatdan/storage,sean-jc/docker,rhardih/docker,yosifkit/docker,DoraALin/docker,londoncalling/docker.github.io,jhorwit2/docker,qudongfang/docker,dccurtis/docker,justyntemme/docker,johnstep/moby-moby,jongiddy/docker,jameszhan/docker,inatatsu/docker,mike1729/docker,scotttlin/docker,gdevillele/docker.github.io,thaJeztah/docker,michelvocks/docker,mike1729/docker,JMesser81/docker,Shopify/docker,madhanrm/docker,laijs/moby,shubheksha/docker.github.io,docker/docker,HuKeping/docker,lixiaobing10051267/docker,portworx/docker,ripcurld0/moby,aduermael/docker.github.io,laijs/docker,gdevillele/docker.github.io,hustcat/docker,lixiaobing10051267/docker,denverdino/docker.github.io,docker-zh/docker.github.io,sanjeo/docker,bluebreezecf/docker,BSWANG/denverdino.github.io,tpounds/docker,tmp6154/docker,anweiss/docker.github.io,joeuo/docker.github.io,gdevillele/docker.github.io,rhardih/docker,fcrisciani/docker,yummypeng/docker,kojiromike/docker,nawawi/docker,danix800/docker.github.io,cnaize/docker,sheimi/docker,ivansaracino/docker,tpounds/docker,stainboy/docker,mikedougherty/docker,docker/docker,anweiss/docker.github.io,Ramzec/docker,kolyshkin/docker,mgoelzer/docker,errordeveloper/docker,mikedougherty/docker,mohmost12/docker,gigidwan/docker,YuPengZTE/docker,vijaykilari/docker,tonistiigi/docker,mstanleyjones/docker,mtanlee/docker,POLJM242/docker,noironetworks/docker,joeuo/docker.github.io,londoncalling/docker.github.io,shishir-a412ed/docker,djs55/docker,containers/storage,darrenstahlmsft/docker,crosbymichael/docker,coreos/docker,kencochrane/docker,cpuguy83/docker,kolyshkin/moby,Altiscale/docker,naveed-jamil-tenpearls/moby,HackToday/docker,bdwill/docker.github.io,madhanrm/docker,cr7pt0gr4ph7/docker,amatsus/docker,anortef/docker,coolljt0725/docker,HideoYamauchi/docker,amatsus/docker,shhsu/docker,alexisbellido/docker.github.io,gjaskiewicz/moby,Microsoft/docker,whuwxl/docker,Ramzec/docker,moul/docker,shhsu/docker,jecarey/docker,xuxinkun/docker,justyntemme/docker,isubuz/docker,djs55/docker,jthelin/docker,izarov/docker,medallia/docker,Tenk42/docker,dgageot/docker,icaoweiwei/docker,aduermael/docker.github.io,rremer/moby,ailispaw/docker,resin-io/docker,charleswhchan/docker,abhinavdahiya/docker,thaJeztah/docker.github.io,haveatry/docker,shin-/docker.github.io,ndeloof/docker,ndeloof/docker,dnephin/docker,moxiegirl/docker,johnstep/docker.github.io,menglingwei/denverdino.github.io,xiekeyang/docker,thaJeztah/docker,portworx/docker,mathewkoshy493/docker,bonczj/moby-json-file-logger,sunyuan3/docker,maxamillion/docker,afein/docker,joaofnfernandes/docker.github.io,joeuo/docker.github.io,gschaetz/moby,JimGalasyn/docker.github.io,joaofnfernandes/docker.github.io,danyalKhaliq10p/moby,flavio/docker,docker/docker.github.io,dsheets/moby,jwhonce/docker,sunyuan3/docker,errordeveloper/docker,tkopczynski/docker,ibuildthecloud/docker,sdurrheimer/docker,bonczj/moby-json-file-logger,OnePaaS/docker,asbjornenge/docker,mtrmac/docker,endophage/docker,shin-/docker.github.io,rillig/docker.github.io,bearstech/moby,alexisbellido/docker.github.io,cnaize/docker,denverdino/docker.github.io,kojiromike/docker,13W/docker,TheBigBear/docker,rhatdan/docker,TheBigBear/docker,fsoppelsa/docker,trebonian/docker,davinashreddy/docker,srust/docker,zhuguihua/docker,pramodhkp/moby,dperny/docker,gnailuy/docker,tonistiigi/docker,imkin/moby,sean-jc/docker,scotttlin/docker,docker/docker.github.io,nghiant2710/docker,shishir-a412ed/docker,hqhq/moby,HuKeping/docker,anujbahuguna/docker,rancher/docker,erikh/docker,whuwxl/docker,docker-zh/docker.github.io,TrumanLing/docker,nalind/docker,hypriot/docker,dnephin/docker,achanda/docker,AkihiroSuda/docker,anweiss/docker.github.io,toli/docker,sheimi/docker,johnstep/moby-moby,x1022as/docker,mikedougherty/docker,ibuildthecloud/docker,pecameron/docker,kerneltime/docker,davinashreddy/docker,jzwlqx/denverdino.github.io,willmtemple/docker,allencloud/docker,xuxinkun/docker,KingEmet/docker,bearstech/moby,BenHall/docker,projectatomic/docker,Morsicus/docker,tmp6154/docker,HideoYamauchi/docker,containers/storage,sanscontext/docker.github.io,nalind/docker,jimjag/docker,darrenstahlmsft/moby,raja-sami-10p/moby,mahak/docker,ZJU-SEL/docker,endophage/docker,ColinHebert/docker,paralin/docker,AkihiroSuda/docker,tklauser/docker,xiaods/docker,coolljt0725/docker,umerazad/docker,containers/storage,ZJUshuaizhou/docker,nawawi/docker,jlebon/docker,thaJeztah/docker.github.io,yasiramin10p/moby,alexisbellido/docker.github.io,achanda/docker,menglingwei/denverdino.github.io,imkin/moby,runcom/docker,noironetworks/docker,cloudflare/docker,mgoelzer/docker,ripcurld0/moby,flavio/docker,ZJUshuaizhou/docker,ajaymdesai/docker,Mashimiao/docker,bluebreezecf/docker,zhuguihua/docker,mtrmac/docker,pradipd/moby,akira-baruah/docker,pramodhkp/moby,rremer/moby,michael-holzheu/docker,SvenDowideit/docker,JMesser81/docker,mtanlee/docker,duglin/docker,londoncalling/docker.github.io,jameszhan/docker,ivansaracino/docker,Tenk42/docker,PatrickLang/moby,sarnautov/moby,Shopify/docker,fsoppelsa/docker,solganik/docker,Microsoft/docker,xiekeyang/docker,Syntaxide/docker,davinashreddy/docker,YujiOshima/docker,moypray/docker,amatsus/docker,gjaskiewicz/moby,erikstmartin/docker,yosifkit/docker,catinthesky/docker,icaoweiwei/docker,tonistiigi/docker,nalind/docker,LaynePeng/docker,PatrickLang/moby,danyalKhaliq10p/moby,pradipd/moby,dccurtis/docker,ajaymdesai/docker,AkihiroSuda/docker,hypriot/docker,mtesselH/docker,sarnautov/moby,thaJeztah/docker.github.io,solganik/docker,phiroict/docker,shin-/docker.github.io,LuisBosquez/docker.github.io,Microsoft/docker,jvanz/docker,ripcurld0/moby,sanscontext/docker.github.io,prertik/docker,liaoqingwei/docker,yp-engineering/docker,ffoysal/docker,ffoysal/docker,runcom/docker,jc-m/docker,abhinavdahiya/docker,denverdino/docker.github.io,laijs/docker,shubheksha/docker.github.io,tianon/docker,joaofnfernandes/docker.github.io,Altiscale/docker,stevvooe/docker,shubheksha/docker.github.io,xiaods/docker,Mokolea/docker,scotttlin/docker,diogomonica/docker,KarthikNayak/docker,ibuildthecloud/docker,TheBigBear/docker,Morsicus/docker,cyphar/docker,nawawi/docker,runcom/docker,hqhq/moby,charleszheng44/moby,coreos/docker,sterchelen/docker,yongtang/docker,wenchma/docker,konstruktoid/docker-upstream,wenchma/docker,KarthikNayak/docker,izarov/docker,vdemeester/docker,rkazak/docker,cyphar/docker,flavio/docker,phiroict/docker,unclejack/docker,KingEmet/docker,q384566678/docker,anweiss/docker.github.io,gschaetz/moby,thaJeztah/docker.github.io,bdwill/docker.github.io,liaoqingwei/docker,sean-jc/docker,ColinHebert/docker,kolyshkin/moby,inatatsu/docker,duglin/docker,michael-holzheu/docker,eskaaren/docker,madhanrm/docker,moul/docker,thaJeztah/docker,rillig/docker.github.io,tklauser/docker,dmcgowan/docker,jwhonce/docker,michelvocks/docker,troy0820/docker.github.io,shubheksha/docker.github.io,gnailuy/docker,dperny/docker,joaofnfernandes/docker.github.io,charleswhchan/docker,cyli/docker,justyntemme/docker,bdwill/docker.github.io,dsau/docker,contiv/docker,resin-io/docker,menglingwei/denverdino.github.io,jlebon/docker,allencloud/docker,yummypeng/docker,jameszhan/docker,mike1729/docker,diogomonica/docker,ckeyer/docker,Ramzec/docker,rancher/docker,haveatry/docker,justincormack/docker,cr7pt0gr4ph7/docker,lixiaobing1/docker,unclejack/docker,mstanleyjones/docker,docker/docker.github.io,solganik/docker,jongiddy/docker,resin-io/docker,Morsicus/docker,troy0820/docker.github.io,PatrickLang/moby,moypray/docker,stainboy/docker,hustcat/docker,Mashimiao/docker,joeuo/docker.github.io,dims/docker,geekylucas/docker,alfred-landrum/docker,laijs/docker,catinthesky/docker,michelvocks/docker,thtanaka/docker,rillig/docker.github.io,tpounds/docker,anujbahuguna/docker,ibuildthecloud/docker,YujiOshima/docker,thaJeztah/docker.github.io,dsau/docker,mathewkoshy493/docker,jlebon/docker,joeuo/docker.github.io,miminar/docker,erikstmartin/docker,djs55/docker,Ramzec/docker,trebonian/docker,jzwlqx/denverdino.github.io,splunk/docker,thaJeztah/docker,ZJUshuaizhou/docker,BSWANG/denverdino.github.io,umerazad/docker,srust/docker,darrenstahlmsft/docker,justincormack/docker,mtrmac/docker,KingEmet/docker,tophj-ibm/moby,alfred-landrum/docker,HuKeping/docker,miminar/docker,moxiegirl/docker,pramodhkp/moby,tophj-ibm/docker,gdevillele/docker.github.io,gdevillele/docker.github.io,coolljt0725/docker,KarthikNayak/docker,jvanz/docker,michael-holzheu/docker,dsau/docker,troy0820/docker.github.io,rhatdan/docker,endophage/docker,icecrime/docker,ckeyer/docker,JimGalasyn/docker.github.io,catinthesky/docker,gnailuy/docker,14rcole/docker,errordeveloper/docker,sfsmithcha/docker,bearstech/moby,luxas/docker,mkumatag/docker,LuisBosquez/docker.github.io,gjaskiewicz/moby,Mokolea/docker,jzwlqx/denverdino.github.io,srust/docker,docker-zh/docker.github.io,jecarey/docker,alfred-landrum/docker,yasiramin10p/moby,projectatomic/docker,tophj-ibm/moby,twaugh/docker,msabansal/docker,menglingwei/denverdino.github.io,DoraALin/docker,prertik/docker,BSWANG/denverdino.github.io,denverdino/denverdino.github.io,anortef/docker,yasiramin10p/moby,cyli/docker,mikebrow/docker,liaoqingwei/docker,flavio/docker,dims/docker,HideoYamauchi/docker,docker/docker,jongiddy/docker,thtanaka/docker,jhorwit2/docker,pecameron/docker,ailispaw/docker,izarov/docker,prertik/docker,alexisbellido/docker.github.io,danix800/docker.github.io,raja-sami-10p/moby,asbjornenge/docker,rkazak/docker,kerneltime/docker,stevvooe/docker,sdurrheimer/docker,SvenDowideit/docker,Mokolea/docker,jvanz/docker,konstruktoid/docker-upstream,twaugh/docker,moby/moby,tophj-ibm/moby,projectatomic/docker,ckeyer/docker,jzwlqx/denverdino.github.io,cloudflare/docker,johnstep/docker.github.io,TrumanLing/docker,danix800/docker.github.io,x1022as/docker,docker/docker.github.io,denverdino/docker.github.io,estesp/docker,contiv/docker,brahmaroutu/docker,ajaymdesai/docker,achanda/docker,portworx/docker,bfirsh/docker,ZJU-SEL/docker,sheimi/docker,shishir-a412ed/docker,londoncalling/docker.github.io,moby/moby,sarnautov/moby,johnstep/docker.github.io,Syntaxide/docker,gschaetz/moby,stainboy/docker,menglingwei/denverdino.github.io,jthelin/docker,laijs/moby,konstruktoid/docker-1,anujbahuguna/docker,icecrime/docker,14rcole/docker,dmcgowan/docker,lixiaobing10051267/docker,dccurtis/docker,cpuguy83/docker,rkazak/docker,eskaaren/docker,konstruktoid/docker-upstream,cr7pt0gr4ph7/docker,Mashimiao/docker,allencloud/docker,cloudflare/docker,denverdino/denverdino.github.io,erikh/docker,tophj-ibm/docker,mstanleyjones/docker,dsheets/moby,YuPengZTE/docker,hqhq/moby,pradipd/moby,tkopczynski/docker,umerazad/docker,kunalkushwaha/docker,isubuz/docker,phiroict/docker,zhuguihua/docker,docker/docker.github.io,medallia/docker,trebonian/docker,haveatry/docker,paralin/docker,xiaods/docker,tianon/docker,ColinHebert/docker,mtesselH/docker,vdemeester/docker,qudongfang/docker,charleszheng44/moby,mikebrow/docker,bdwill/docker.github.io,OnePaaS/docker,JimGalasyn/docker.github.io,willmtemple/docker,anweiss/docker.github.io,ivansaracino/docker,tophj-ibm/docker,jc-m/docker,AkihiroSuda/docker,fsoppelsa/docker,harche/docker,mohmost12/docker,harche/docker,ailispaw/docker,anortef/docker,q384566678/docker,DoraALin/docker,bearstech/moby,LuisBosquez/docker.github.io,justincormack/docker,nalind/docker,willmtemple/docker,SvenDowideit/docker,medallia/docker,kencochrane/docker,coreos/docker,denverdino/docker.github.io,tagomoris/docker,jimjag/docker,sanjeo/docker,kunalkushwaha/docker,phiroict/docker,mikebrow/docker,fcrisciani/docker,rancher/docker,phiroict/docker,mkumatag/docker,mtanlee/docker,jlhawn/docker,tagomoris/docker,dnephin/docker,Shopify/docker,cnaize/docker,contiv/docker,naveed-jamil-tenpearls/moby,kunalkushwaha/docker,trebonian/docker,paralin/docker,moby/moby,yp-engineering/docker,jimjag/docker,sdurrheimer/docker,akira-baruah/docker,13W/docker,yummypeng/docker,LuisBosquez/docker.github.io,danyalKhaliq10p/moby,imkin/moby,sunyuan3/docker,JMesser81/docker,kolyshkin/moby,estesp/docker,dperny/docker,denverdino/denverdino.github.io,johnstep/moby-moby,denverdino/denverdino.github.io,ffoysal/docker,sanscontext/docker.github.io,sanscontext/docker.github.io,konstruktoid/docker-1,kencochrane/docker,shhsu/docker,crosbymichael/docker,rhatdan/storage,moul/docker,yongtang/docker,kojiromike/docker,eskaaren/docker,isubuz/docker,BSWANG/denverdino.github.io,mohmost12/docker,jzwlqx/denverdino.github.io,yosifkit/docker,nawawi/docker,kolyshkin/docker,vdemeester/docker,brahmaroutu/docker,sterchelen/docker,cpuguy83/docker,noxiouz/docker,xiekeyang/docker,joaofnfernandes/docker.github.io,tagomoris/docker,luxas/docker,LaynePeng/docker,mtesselH/docker,erikh/docker,bonczj/moby-json-file-logger,noxiouz/docker,stevvooe/docker,yp-engineering/docker,icecrime/docker,aduermael/docker.github.io,bfirsh/docker,dims/docker,Syntaxide/docker,troy0820/docker.github.io,londoncalling/docker.github.io,mixja/docker,miminar/docker,dongjoon-hyun/docker,qudongfang/docker,cyli/docker,moby/moby,sfsmithcha/docker,TrumanLing/docker,konstruktoid/docker-upstream,jimjag/docker,tklauser/docker,pecameron/docker,rhatdan/storage,HackToday/docker,splunk/docker,toli/docker,dsheets/moby,mixja/docker,thtanaka/docker,OnePaaS/docker,rillig/docker.github.io,lixiaobing1/docker,alexisbellido/docker.github.io,mathewkoshy493/docker,nguyentm83/docker,asbjornenge/docker,geekylucas/docker,konstruktoid/docker-1,gnailuy/docker,rhatdan/docker,jwhonce/docker,danix800/docker.github.io,HackToday/docker,sterchelen/docker,xuxinkun/docker,darrenstahlmsft/docker,LaynePeng/docker,crosbymichael/docker,denverdino/denverdino.github.io,lixiaobing1/docker,Tenk42/docker,mahak/docker,LuisBosquez/docker.github.io,vijaykilari/docker,johnstep/docker.github.io,abhinavdahiya/docker,gigidwan/docker,mkumatag/docker,maxamillion/docker,wenchma/docker,dongjoon-hyun/docker,mahak/docker,pyotr777/docker,mgoelzer/docker,JimGalasyn/docker.github.io,aduermael/docker.github.io,msabansal/docker,cyphar/docker,cpuguy83/docker,diogomonica/docker,bluebreezecf/docker,unclejack/docker,luxas/docker,kerneltime/docker,YujiOshima/docker,YuPengZTE/docker,jlhawn/docker,charleszheng44/moby,twaugh/docker,hustcat/docker,13W/docker,splunk/docker,pyotr777/docker,13W/docker,estesp/docker,inatatsu/docker,msabansal/docker,ibuildthecloud/docker,JimGalasyn/docker.github.io,afein/docker,rremer/moby,docker-zh/docker.github.io,moypray/docker,charleswhchan/docker,Altiscale/docker,nghiant2710/docker,shin-/docker.github.io