A man was slain in a drive-by shooting in Brooklyn Thursday night, police said.

The victim was standing in front of a house on East 28th Street near Cortelyou Road in Flatbush at about 8:50 p.m. when a Jeep SUV pulled up, cops said.

A gunman leaned out of the window of the truck and opened fire, hitting the 33-year-old man one time in the head, authorities said.

A friend of his rushed him to nearby Kings County Hospital, where he was pronounced dead, police said. His name was being withheld pending family notification.

The suspect drove off and has not been caught, police said.