Fix, in case of multiple references, only the first one was used to decide shared or not.
Fix, in case of multiple references, only the first one was used to decide shared or not.

tempbottle/Nuitka,kayhayen/Nuitka,kayhayen/Nuitka,wfxiang08/Nuitka,kayhayen/Nuitka,tempbottle/Nuitka,tempbottle/Nuitka,kayhayen/Nuitka,wfxiang08/Nuitka,wfxiang08/Nuitka,tempbottle/Nuitka,wfxiang08/Nuitka