Load dynamic library for python library

Joshua Root jmr at macports.org
Fri Feb 8 23:05:21 UTC 2019


On 2019-2-9 09:20 , Casey Deccio wrote:
> 
>> On Feb 7, 2019, at 8:05 PM, Joshua Root <jmr at macports.org
>> <mailto:jmr at macports.org>> wrote:
>>
>> The call is in libnacl/__init__.py. I'd patch in a placeholder and use
>> reinplace to insert the value of $prefix.
> 
> Thanks!  So would it be better for the patch to try first the hard-coded
> location (i.e., hardcoded with ${prefix}) then via relative name/search
> or just the hardcoded?

I already committed the change. No fallback because we only want to use
the MacPorts version of libsodium. There's a dependency on it, so if
it's missing something has gone very wrong.

- Josh


More information about the macports-dev mailing list