If he has modified even a single line of your source code, he is free to re-license the entire product as a whole under his own license. As long as your name / copyright notice is preserved in the source code / binary, there is nothing illegal about this. How else do you think GPL projects incorporate BSD-code ?