On Sun, Jul 4, 2010 at 11:07 PM, Sisyphus <[email protected]> wrote:
>
> ----- Original Message ----- From: "P Kishor" <[email protected]>
>
>>  Fixing that Makefile will really make
>> things a lot easier.
>
> Is that the fix where you want to change
>
> $hash{'LDDLFLAGS'} = " -shared -L$plplot_lib_path -L/usr/local/lib ";
> to
> $hash{'LDDLFLAGS'} = " -bundle -undefined dynamic_lookup -L/usr/local/lib ";
>

yes.

> Might that change break things for someone else ?

most likely.

> If so, then we need to
> instead do:
>
> $hash{'LDDLFLAGS'} = <some condition> ?
>  " -bundle -undefined dynamic_lookup -L/usr/local/lib " :
>  " -shared -L$plplot_lib_path -L/usr/local/lib ";
>
> and we need to know what "<some condition>" is.
> Perhaps the condition is that $^O eq 'MacOS'.
> Would that do the job correctly ?

probably.

> Or do there exist MacOS installations where we want " -shared
> -L$plplot_lib_path -L/usr/local/lib " instead of " -bundle -undefined
> dynamic_lookup -L/usr/local/lib " ?
>

someone more savvy than I am should pipe up here... maybe Matthew
Kenworthy, maybe Hazen Babcock (iirc, the above fix was proposed by
Hazen).


> Cheers,
> Rob
>
>



-- 
Puneet Kishor http://www.punkish.org
Carbon Model http://carbonmodel.org
Charter Member, Open Source Geospatial Foundation http://www.osgeo.org
Science Commons Fellow, http://sciencecommons.org/about/whoweare/kishor
Nelson Institute, UW-Madison http://www.nelson.wisc.edu
-----------------------------------------------------------------------
Assertions are politics; backing up assertions with evidence is science
=======================================================================

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

Reply via email to