qt5: fix install names with '-no-rpath'
qt5: fix install names with '-no-rpath'

Fixes #42191.
Fixes #42217.

redpen-cc/homebrew,afh/homebrew,drbenmorgan/linuxbrew,teslamint/homebrew,ybott/homebrew,bukzor/linuxbrew,dickeyxxx/homebrew,brunchboy/homebrew,lvicentesanchez/linuxbrew,okuramasafumi/homebrew,yazuuchi/homebrew,dunn/homebrew,lvicentesanchez/homebrew,blogabe/homebrew,pcottle/homebrew,kvs/homebrew,AGWA-forks/homebrew,vigo/homebrew,sferik/homebrew,ryanfb/homebrew,yumitsu/homebrew,apjanke/homebrew,jamer/homebrew,petere/homebrew,xcezx/homebrew,Gasol/homebrew,lmontrieux/homebrew,esamson/homebrew,Red54/homebrew,esamson/homebrew,AlexejK/homebrew,sjackman/linuxbrew,tsaeger/homebrew,skatsuta/homebrew,dutchcoders/homebrew,adamliter/homebrew,brunchboy/homebrew,LinusU/homebrew,eighthave/homebrew,dgageot/homebrew,kvs/homebrew,jmagnusson/homebrew,nelstrom/homebrew,cosmo0920/homebrew,Noctem/homebrew,arnested/homebrew,Homebrew/linuxbrew,cscetbon/homebrew,pdxdan/homebrew,retrography/homebrew,keith/homebrew,changzuozhen/homebrew,lvicentesanchez/homebrew,ebouaziz/linuxbrew,tseven/homebrew,joshfriend/homebrew,Gasol/homebrew,DoomHammer/linuxbrew,bukzor/linuxbrew,danieroux/homebrew,sometimesfood/homebrew,muellermartin/homebrew,ilovezfs/homebrew,kodabb/homebrew,geoff-codes/homebrew,ilovezfs/homebrew,moyogo/homebrew,cosmo0920/homebrew,coldeasy/homebrew,tstack/homebrew,dutchcoders/homebrew,reelsense/linuxbrew,scpeters/homebrew,TaylorMonacelli/homebrew,scorphus/homebrew,ExtremeMan/homebrew,getgauge/homebrew,Homebrew/linuxbrew,iandennismiller/homebrew,koraktor/homebrew,ablyler/homebrew,gicmo/homebrew,frodeaa/homebrew,alebcay/homebrew,alebcay/homebrew,Asuranceturix/homebrew,mactkg/homebrew,georgschoelly/homebrew,ear/homebrew,yazuuchi/homebrew,base10/homebrew,petere/homebrew,esamson/homebrew,kad/homebrew,influxdata/homebrew,grepnull/homebrew,alex/homebrew,cosmo0920/homebrew,redpen-cc/homebrew,razamatan/homebrew,drewwells/homebrew,benjaminfrank/homebrew,jconley/homebrew,AlexejK/homebrew,dickeyxxx/homebrew,lvicentesanchez/linuxbrew,vihangm/homebrew,gnubila-france/linuxbrew,tseven/homebrew,zchee/homebrew,ebouaziz/linuxbrew,grepnull/homebrew,felixonmars/homebrew,hakamadare/homebrew,royhodgman/homebrew,ilovezfs/homebrew,yangj1e/homebrew,dgageot/homebrew,liamstask/homebrew,utzig/homebrew,grepnull/homebrew,blogabe/homebrew,chadcatlett/homebrew,ehamberg/homebrew,geoff-codes/homebrew,treyharris/homebrew,influxdb/homebrew,emcrisostomo/homebrew,osimola/homebrew,dongcarl/homebrew,blogabe/homebrew,a-b/homebrew,mmizutani/homebrew,haihappen/homebrew,adamliter/homebrew,TaylorMonacelli/homebrew,jmagnusson/homebrew,cscetbon/homebrew,3van/homebrew,ExtremeMan/homebrew,bukzor/linuxbrew,arg/homebrew,danabrand/linuxbrew,sferik/homebrew,coldeasy/homebrew,ryanfb/homebrew,cchacin/homebrew,mmizutani/homebrew,3van/homebrew,esamson/homebrew,joshua-rutherford/homebrew,dkotvan/homebrew,kodabb/homebrew,xyproto/homebrew,pdxdan/homebrew,hongkongkiwi/homebrew,osimola/homebrew,sakra/homebrew,Cutehacks/homebrew,danieroux/homebrew,kevinastone/homebrew,okuramasafumi/homebrew,deorth/homebrew,sakra/homebrew,vigo/homebrew,nandub/homebrew,iostat/homebrew2,a-b/homebrew,haihappen/homebrew,haihappen/homebrew,BrewTestBot/homebrew,michaKFromParis/homebrew-sparks,nandub/homebrew,heinzf/homebrew,max-horvath/homebrew,yumitsu/homebrew,arg/homebrew,reelsense/homebrew,osimola/homebrew,BrewTestBot/homebrew,dongcarl/homebrew,hongkongkiwi/homebrew,tjschuck/homebrew,afh/homebrew,vihangm/homebrew,eighthave/homebrew,nelstrom/homebrew,miketheman/homebrew,geoff-codes/homebrew,dunn/homebrew,joshua-rutherford/homebrew,ablyler/homebrew,dolfly/homebrew,ablyler/homebrew,ento/homebrew,arg/homebrew,yazuuchi/homebrew,reelsense/linuxbrew,youtux/homebrew,Asuranceturix/homebrew,danabrand/linuxbrew,tsaeger/homebrew,deorth/homebrew,Noctem/homebrew,SteveClement/homebrew,influxdb/homebrew,reelsense/linuxbrew,muellermartin/homebrew,LinusU/homebrew,jmagnusson/homebrew,emcrisostomo/homebrew,miketheman/homebrew,quantumsteve/homebrew,xcezx/homebrew,utzig/homebrew,knpwrs/homebrew,kashif/homebrew,drewwells/homebrew,hanxue/homebrew,lmontrieux/homebrew,Linuxbrew/linuxbrew,codeout/homebrew,youtux/homebrew,pdpi/homebrew,royhodgman/homebrew,SteveClement/homebrew,scpeters/homebrew,jconley/homebrew,dutchcoders/homebrew,SuperNEMO-DBD/cadfaelbrew,jmagnusson/homebrew,tseven/homebrew,tutumcloud/homebrew,jarrettmeyer/homebrew,marcusandre/homebrew,dunn/homebrew,megahall/homebrew,getgauge/homebrew,grepnull/homebrew,drewwells/homebrew,osimola/homebrew,a-b/homebrew,afh/homebrew,vihangm/homebrew,arnested/homebrew,cHoco/homebrew,moyogo/homebrew,booi/homebrew,jamer/homebrew,skinny-framework/homebrew,liamstask/homebrew,marcwebbie/homebrew,gvangool/homebrew,MartinDelille/homebrew,manphiz/homebrew,Homebrew/linuxbrew,bigbes/homebrew,Habbie/homebrew,emcrisostomo/homebrew,felixonmars/homebrew,tstack/homebrew,zhipeng-jia/homebrew,danieroux/homebrew,OJFord/homebrew,DoomHammer/linuxbrew,Habbie/homebrew,gnubila-france/linuxbrew,dericed/homebrew,max-horvath/homebrew,polishgeeks/homebrew,ehamberg/homebrew,scpeters/homebrew,menivaitsi/homebrew,hakamadare/homebrew,elyscape/homebrew,pcottle/homebrew,Cutehacks/homebrew,pdpi/homebrew,bchatard/homebrew,Cutehacks/homebrew,Cutehacks/homebrew,kashif/homebrew,jamer/homebrew,recruit-tech/homebrew,max-horvath/homebrew,elyscape/homebrew,AGWA-forks/homebrew,gnawhleinad/homebrew,josa42/homebrew,Noctem/homebrew,keith/homebrew,jeremiahyan/homebrew,sferik/homebrew,danabrand/linuxbrew,lvicentesanchez/linuxbrew,felixonmars/homebrew,knpwrs/homebrew,tsaeger/homebrew,OJFord/homebrew,davydden/linuxbrew,Noctem/homebrew,Habbie/homebrew,apjanke/homebrew,lrascao/homebrew,razamatan/homebrew,ear/homebrew,dkotvan/homebrew,jamer/homebrew,Chilledheart/homebrew,afb/homebrew,yangj1e/homebrew,teslamint/homebrew,lrascao/homebrew,hongkongkiwi/homebrew,galaxy001/homebrew,dericed/homebrew,galaxy001/homebrew,michaKFromParis/homebrew-sparks,marcusandre/homebrew,davydden/linuxbrew,frickler01/homebrew,adamliter/homebrew,totalvoidness/homebrew,royhodgman/homebrew,menivaitsi/homebrew,ento/homebrew,kodabb/homebrew,kashif/homebrew,hanxue/homebrew,feelpp/homebrew,nelstrom/homebrew,treyharris/homebrew,hanxue/homebrew,lvicentesanchez/homebrew,tstack/homebrew,dongcarl/homebrew,afb/homebrew,SuperNEMO-DBD/cadfaelbrew,patrickmckenna/homebrew,3van/homebrew,kad/homebrew,heinzf/homebrew,hyuni/homebrew,max-horvath/homebrew,saketkc/linuxbrew,cHoco/homebrew,DoomHammer/linuxbrew,gnawhleinad/homebrew,marcwebbie/homebrew,sakra/homebrew,danieroux/homebrew,joshua-rutherford/homebrew,tsaeger/homebrew,keith/homebrew,petere/homebrew,tjschuck/homebrew,mkrapp/homebrew,okuramasafumi/homebrew,xyproto/homebrew,dgageot/homebrew,nandub/homebrew,ebouaziz/linuxbrew,decors/homebrew,arg/homebrew,jiashuw/homebrew,Red54/homebrew,nelstrom/homebrew,hongkongkiwi/homebrew,marcwebbie/homebrew,MartinDelille/homebrew,jeremiahyan/homebrew,amjith/homebrew,mmizutani/homebrew,johanhammar/homebrew,elgertam/homebrew,jeremiahyan/homebrew,dutchcoders/homebrew,hakamadare/homebrew,kodabb/homebrew,patrickmckenna/homebrew,zchee/homebrew,jedahan/homebrew,bchatard/homebrew,koraktor/homebrew,vigo/homebrew,petere/homebrew,saketkc/linuxbrew,iostat/homebrew2,afb/homebrew,AGWA-forks/homebrew,retrography/homebrew,totalvoidness/homebrew,ge11232002/homebrew,dericed/homebrew,utzig/homebrew,redpen-cc/homebrew,ehamberg/homebrew,LinusU/homebrew,Red54/homebrew,hanxue/homebrew,muellermartin/homebrew,treyharris/homebrew,pcottle/homebrew,zeha/homebrew,cprecioso/homebrew,ralic/homebrew,moyogo/homebrew,thinker0/homebrew,reelsense/linuxbrew,hyuni/homebrew,base10/homebrew,BrewTestBot/homebrew,dplarson/homebrew,tseven/homebrew,yumitsu/homebrew,knpwrs/homebrew,bchatard/homebrew,scorphus/homebrew,jarrettmeyer/homebrew,princeofdarkness76/homebrew,frickler01/homebrew,dolfly/homebrew,alebcay/homebrew,amjith/homebrew,reelsense/homebrew,booi/homebrew,jsjohnst/homebrew,menivaitsi/homebrew,Linuxbrew/linuxbrew,joshfriend/homebrew,teslamint/homebrew,alex/homebrew,drbenmorgan/linuxbrew,kad/homebrew,frickler01/homebrew,Angeldude/linuxbrew,thinker0/homebrew,sjackman/linuxbrew,ExtremeMan/homebrew,benjaminfrank/homebrew,cprecioso/homebrew,base10/homebrew,jedahan/homebrew,bigbes/homebrew,davidcelis/homebrew,xyproto/homebrew,ge11232002/homebrew,zeha/homebrew,TaylorMonacelli/homebrew,MartinDelille/homebrew,filcab/homebrew,ryanfb/homebrew,pdpi/homebrew,arnested/homebrew,heinzf/homebrew,pcottle/homebrew,theeternalsw0rd/homebrew,pdxdan/homebrew,changzuozhen/homebrew,recruit-tech/homebrew,reelsense/homebrew,davidcelis/homebrew,amjith/homebrew,mobileoverlord/homebrew-1,sjackman/linuxbrew,influxdata/homebrew,jsjohnst/homebrew,jiashuw/homebrew,scorphus/homebrew,ybott/homebrew,alex/homebrew,skinny-framework/homebrew,cHoco/homebrew,tutumcloud/homebrew,changzuozhen/homebrew,royhodgman/homebrew,elyscape/homebrew,AlexejK/homebrew,gnawhleinad/homebrew,polishgeeks/homebrew,Asuranceturix/homebrew,dplarson/homebrew,coldeasy/homebrew,mkrapp/homebrew,gawbul/homebrew,retrography/homebrew,xyproto/homebrew,sferik/homebrew,MartinDelille/homebrew,koraktor/homebrew,cchacin/homebrew,iandennismiller/homebrew,Asuranceturix/homebrew,bukzor/linuxbrew,alex/homebrew,slyphon/homebrew,totalvoidness/homebrew,amjith/homebrew,johanhammar/homebrew,frodeaa/homebrew,mactkg/homebrew,liamstask/homebrew,princeofdarkness76/homebrew,frodeaa/homebrew,danabrand/linuxbrew,ralic/homebrew,patrickmckenna/homebrew,vigo/homebrew,Chilledheart/homebrew,afb/homebrew,LonnyGomes/homebrew,thinker0/homebrew,yangj1e/homebrew,liamstask/homebrew,gawbul/homebrew,SteveClement/homebrew,influxdata/homebrew,georgschoelly/homebrew,kenips/homebrew,Habbie/homebrew,codeout/homebrew,skinny-framework/homebrew,cchacin/homebrew,johanhammar/homebrew,jiashuw/homebrew,gvangool/homebrew,totalvoidness/homebrew,manphiz/homebrew,pdxdan/homebrew,Homebrew/homebrew,iostat/homebrew2,thinker0/homebrew,BrewTestBot/homebrew,gvangool/homebrew,ento/homebrew,keith/homebrew,ExtremeMan/homebrew,decors/homebrew,jab/homebrew,georgschoelly/homebrew,jeremiahyan/homebrew,jiashuw/homebrew,Angeldude/linuxbrew,ento/homebrew,3van/homebrew,davidcelis/homebrew,tjschuck/homebrew,influxdb/homebrew,filcab/homebrew,ear/homebrew,lmontrieux/homebrew,lvicentesanchez/homebrew,jsjohnst/homebrew,manphiz/homebrew,galaxy001/homebrew,sakra/homebrew,skatsuta/homebrew,Gasol/homebrew,tutumcloud/homebrew,dalanmiller/homebrew,geoff-codes/homebrew,yangj1e/homebrew,influxdb/homebrew,scorphus/homebrew,zhipeng-jia/homebrew,SteveClement/homebrew,ehamberg/homebrew,menivaitsi/homebrew,quantumsteve/homebrew,jsjohnst/homebrew,kevinastone/homebrew,jarrettmeyer/homebrew,josa42/homebrew,jab/homebrew,SteveClement/homebrew,utzig/homebrew,haihappen/homebrew,scpeters/homebrew,kashif/homebrew,OJFord/homebrew,tschoonj/homebrew,optikfluffel/homebrew,optikfluffel/homebrew,chadcatlett/homebrew,gicmo/homebrew,kad/homebrew,marcusandre/homebrew,davidcelis/homebrew,jedahan/homebrew,gicmo/homebrew,gvangool/homebrew,youtux/homebrew,hyuni/homebrew,cscetbon/homebrew,influxdata/homebrew,johanhammar/homebrew,LonnyGomes/homebrew,elgertam/homebrew,josa42/homebrew,megahall/homebrew,iostat/homebrew2,ralic/homebrew,drbenmorgan/linuxbrew,muellermartin/homebrew,coldeasy/homebrew,ebouaziz/linuxbrew,MoSal/homebrew,DoomHammer/linuxbrew,Chilledheart/homebrew,dplarson/homebrew,treyharris/homebrew,gnubila-france/linuxbrew,kevinastone/homebrew,marcusandre/homebrew,gawbul/homebrew,ilovezfs/homebrew,sometimesfood/homebrew,zhipeng-jia/homebrew,codeout/homebrew,Chilledheart/homebrew,recruit-tech/homebrew,AlexejK/homebrew,razamatan/homebrew,elgertam/homebrew,MoSal/homebrew,feelpp/homebrew,princeofdarkness76/homebrew,sjackman/linuxbrew,dkotvan/homebrew,kvs/homebrew,changzuozhen/homebrew,marcwebbie/homebrew,codeout/homebrew,dalanmiller/homebrew,zchee/homebrew,dplarson/homebrew,apjanke/homebrew,getgauge/homebrew,elyscape/homebrew,felixonmars/homebrew,dickeyxxx/homebrew,iandennismiller/homebrew,mobileoverlord/homebrew-1,kenips/homebrew,theeternalsw0rd/homebrew,gnubila-france/linuxbrew,cHoco/homebrew,filcab/homebrew,skatsuta/homebrew,dericed/homebrew,mactkg/homebrew,bchatard/homebrew,ablyler/homebrew,retrography/homebrew,gnawhleinad/homebrew,teslamint/homebrew,davydden/linuxbrew,mactkg/homebrew,theeternalsw0rd/homebrew,dolfly/homebrew,brunchboy/homebrew,getgauge/homebrew,optikfluffel/homebrew,booi/homebrew,vihangm/homebrew,cchacin/homebrew,tutumcloud/homebrew,Homebrew/homebrew,emcrisostomo/homebrew,decors/homebrew,blogabe/homebrew,megahall/homebrew,manphiz/homebrew,zchee/homebrew,ryanfb/homebrew,ybott/homebrew,michaKFromParis/homebrew-sparks,youtux/homebrew,benjaminfrank/homebrew,tjschuck/homebrew,LinusU/homebrew,kenips/homebrew,LonnyGomes/homebrew,saketkc/linuxbrew,galaxy001/homebrew,bigbes/homebrew,apjanke/homebrew,elgertam/homebrew,jedahan/homebrew,optikfluffel/homebrew,tstack/homebrew,mkrapp/homebrew,joshua-rutherford/homebrew,miketheman/homebrew,Red54/homebrew,pcottle/homebrew,moyogo/homebrew,bigbes/homebrew,theeternalsw0rd/homebrew,okuramasafumi/homebrew,cosmo0920/homebrew,dolfly/homebrew,polishgeeks/homebrew,skatsuta/homebrew,xcezx/homebrew,sometimesfood/homebrew,razamatan/homebrew,cprecioso/homebrew,alebcay/homebrew,kevinastone/homebrew,kenips/homebrew,recruit-tech/homebrew,lvicentesanchez/linuxbrew,megahall/homebrew,hakamadare/homebrew,a-b/homebrew,jarrettmeyer/homebrew,slyphon/homebrew,slyphon/homebrew,deorth/homebrew,OJFord/homebrew,SuperNEMO-DBD/cadfaelbrew,yazuuchi/homebrew,mobileoverlord/homebrew-1,Linuxbrew/linuxbrew,Linuxbrew/linuxbrew,Gasol/homebrew,MoSal/homebrew,lrascao/homebrew,AGWA-forks/homebrew,princeofdarkness76/homebrew,redpen-cc/homebrew,ge11232002/homebrew,decors/homebrew,koraktor/homebrew,skinny-framework/homebrew,ralic/homebrew,iandennismiller/homebrew,georgschoelly/homebrew,tschoonj/homebrew,drbenmorgan/linuxbrew,joshfriend/homebrew,filcab/homebrew,heinzf/homebrew,zeha/homebrew,pdpi/homebrew,quantumsteve/homebrew,jab/homebrew,brunchboy/homebrew,Asuranceturix/homebrew,sometimesfood/homebrew,jab/homebrew,Homebrew/linuxbrew,dongcarl/homebrew,tschoonj/homebrew,TaylorMonacelli/homebrew,drewwells/homebrew,dalanmiller/homebrew,frickler01/homebrew,quantumsteve/homebrew,davydden/linuxbrew,arnested/homebrew,mmizutani/homebrew,dgageot/homebrew,dkotvan/homebrew,chadcatlett/homebrew,hyuni/homebrew,jconley/homebrew,afh/homebrew,Homebrew/homebrew,mobileoverlord/homebrew-1,polishgeeks/homebrew,Angeldude/linuxbrew,dickeyxxx/homebrew,eighthave/homebrew,saketkc/linuxbrew,ge11232002/homebrew,benjaminfrank/homebrew,nandub/homebrew,feelpp/homebrew,kvs/homebrew,adamliter/homebrew,LonnyGomes/homebrew,SuperNEMO-DBD/cadfaelbrew,eighthave/homebrew,Angeldude/linuxbrew,gicmo/homebrew,slyphon/homebrew,base10/homebrew,ear/homebrew,Homebrew/homebrew,tschoonj/homebrew,miketheman/homebrew,frodeaa/homebrew,zhipeng-jia/homebrew,dalanmiller/homebrew,zeha/homebrew,patrickmckenna/homebrew,xcezx/homebrew,jconley/homebrew,knpwrs/homebrew,MoSal/homebrew,ybott/homebrew,cprecioso/homebrew,reelsense/homebrew,dunn/homebrew,feelpp/homebrew,lmontrieux/homebrew