I haven't been following this but perl already knows how to build a  
shared library. Otherwise XS wouldn't work at all.

$Config{lddlflags} would seem to be the config variable you want.

Tim

On Sep 16, 2009, at 9:18 AM, Doug Hunt wrote:

> Hi Hazen:  OK.  Should I just key off of
>
> $Config{osname} eq 'darwin'
>
> ?
>
> --Doug
>
> [email protected]
> Software Engineer
> UCAR - COSMIC, Tel. (303) 497-2611
>
> On Wed, 16 Sep 2009, Hazen Babcock wrote:
>
>>
>> Hi Doug,
>>
>> Do you think it is possible to change the PDL/PLplot Makefile.pl so  
>> that it
>> generates the right LDDFLAGS for OS-X? As I understand it, "- 
>> shared" has no
>> meaning to OS-X gcc and it should be replaced with "-bundle - 
>> undefined
>> dynamic_lookup".
>>
>> -Hazen
>>
>
> _______________________________________________
> Perldl mailing list
> [email protected]
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

-- 
Tim Jenness
Joint Astronomy Centre





_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to