I am creating a static library that uses Objective-C ++. When it is used in direct Objective-C purpose, I get
Undefined symbols:
"___gxx_personality_v0", referenced from:
I can solve this by adding -lstdC ++ to the "Other linker flags" target.
Question: Is there a way to specify this in the static library itself to make this step unnecessary? (Otherwise, I should document it as an additional step for library users.)
source
share