In a referendum held in 1967 , Gibraltarians voted overwhelmingly to remain a British dependency .