spatialite-gui: fix borked sqlite linking
spatialite-gui: fix borked sqlite linking

Closes #44003.

Closes #46375.

Signed-off-by: Dominyk Tiller <53e438f55903875d07efdd98a8aaf887e7208dd3@gmail.com>

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