[Numpy-discussion] f2py with 4.1 under snow leopard

David david@silveregg.co...
Wed Jun 16 21:15:11 CDT 2010


On 06/17/2010 03:05 AM, Charles سمير Doutriaux wrote:
> Hi Robert,
>
> You're right. I finally figured out which flag was missing I'm posting it here as a reference for others:
> I needed to add:
> -undefined dynamic_lookup
> I also removed -fPIC
>
> Hope this helps somebody else.
>
> Do you think it would be possible to have LDFLAGS added to the default ones? Or is there a way to obtain this by setting something else (EXTRA_LDFLAGS) or something like that?

You can use numscons, which has this behavior and makes it easier to 
tweak flags,

cheers,

David


More information about the NumPy-Discussion mailing list