On Aug 23, 2016, at 12:00, Ken Cunningham <[email protected]> 
wrote:

>> 
>> Maybe, if you can make a dylib out of it.
> 
> 
> Hmmm. Making the dylib wasn't too hard:
> 
> clang -dynamiclib -std=gnu99 strnlen.c getline.c -current_version 1.0 
> -compatibility_version 1.0 -o libsnowleopardfixes.a.dylib
> 
> 

> dyld: Library not loaded: libsnowleopardfixes.a.dylib
>  Referenced from: 
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_lnav/lnav/work/lnav-0.8.1/./conftest
>  Reason: image not found

You haven't set the library's install_name to the absolute path where it is 
installed. 

I would prefer you work with the developers of the affected software packages 
to get the necessary compatibility functions into their sources. This will help 
all Snow Leopard users, not just those using MacPorts.  
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to