-
Notifications
You must be signed in to change notification settings - Fork 100
Closed
Labels
Description
Some investigation reveals that there is no one combination that works out-of-the-box, since:
--no-as-neededis required on Ubuntu >=11.10--no-as-neededis no longer recognized in MacOS X since >= Lion.
So a configure-time flag is mandatory. I'm wondering if embedding this directive in foreign.cma (via -cclib at configure-time) makes sense? The assumption is that every consumer of foreign.cma will need to force linking, so including the correct compiler option in Ctypes.Foreign makes sense.
I can cook up a patch if you think this sounds right...
(PS: also noticed that twitter/hadoop-lzo#34 has the same bug for their software)