Here is a link to an interesting article. I snipped a two tidbits to give a taste.
Buddhism and Marxism in Taiwan: Lin Qiuwu's Religious Socialism and Its Legacy in Modern Times
http://www.globalbuddhism.org/1/jones001.html
Why had social classes, and with them the class struggle, first arisen? In brief, classes arose because of greed and grasping, which in turn could only come about on the basis of a false view of the self. He wrote:
How do human beings give rise to thoughts of greed? Because they are unable to understand the true principle of the non-duality of mind, buddha, and sentient beings, thinking instead that the four elements [that is, earth, water, fire, and air] are their body, or that the five aggregates [body, sensations, perceptions, mental constructions, and consciousness] are their self. Because they have this view of "self," they develop hatred and desire, grasp at or reject all kinds of things, and make distinctions [among people] between relatives and strangers. Finally, the time comes when the means of production become increasingly complex, which gradually brings forth the rise of practical scientific methods, clandestine conspiracies, and capitalists who exploit the laboring classes. Because of this, those on opposite sides of the loss and benefit [equation] take the pretext of [the other's] misconduct to form parties and advance their own selfishness, or they come up with some other way to distinguish themselves from the other, discriminate against each other, and gradually, the class struggle arrives. (Lin 1929:55; reproduced in Yang 1991:56)
Thus, according to Lin, one can draw a straight line from the initial delusion of a separate, isolated self as defined by Buddhism to the class struggle as defined by Marxism.
and for fans of no-self (I know you are out there):
"In sum, the Buddhist attitude toward the class struggle is of a piece from start to finish: It means to stand within the no-self that is also the Great Self, to take as one's purpose that one will cherish the propertyless masses and liberate the deprived classes, using methods that exclude military force and violence, and especially taking as one's basic principle the resistance that is non-resistance."
Brian Dauth Queer Buddhist Resister