basho / erlang_js

A linked-in driver for Erlang to Mozilla's Spidermonkey Javascript runtime.
Apache License 2.0
238 stars 88 forks source link

Fix some issues linking erlang_js on recent FreeBSD (12.2). #72

Open sobomax opened 2 years ago

sobomax commented 2 years ago

There are two issues:

o linker (LD) has no such option -lm. CC should be used instead like on all other arches;

o libreadline is now living in the /usr/local/lib.

This can be merged into develop-2.9 as well. Thanks!

sobomax commented 2 years ago

P.S. I am working on a port now, we might see some "official" FreeBSD Riak package soon hopefully.