build: Support passing -pkgdir
build: Support passing -pkgdir

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4417

syncthing/syncthing,imsodin/syncthing,AudriusButkevicius/syncthing,imsodin/syncthing,uok/syncthing,AudriusButkevicius/syncthing,rumpelsepp/syncthing,lkwg82/syncthing,AudriusButkevicius/syncthing,jryans/syncthing,xduugu/syncthing,uok/syncthing,jryans/syncthing,syncthing/syncthing,rumpelsepp/syncthing,syncthing/syncthing,rumpelsepp/syncthing,imsodin/syncthing,xduugu/syncthing,lkwg82/syncthing,imsodin/syncthing,imsodin/syncthing,lkwg82/syncthing,lkwg82/syncthing,wweich/syncthing,xduugu/syncthing,AudriusButkevicius/syncthing,uok/syncthing,wweich/syncthing,rumpelsepp/syncthing,xduugu/syncthing,wweich/syncthing,wweich/syncthing,jryans/syncthing,syncthing/syncthing,syncthing/syncthing,uok/syncthing,syncthing/syncthing,jryans/syncthing