drforr / perl6-readline

Simple binding to GNU libreadline
Artistic License 2.0
7 stars 16 forks source link

Add lib path of libreadline installed by MacOS brew #32

Closed wenjie1991 closed 3 years ago

wenjie1991 commented 4 years ago

The readline installed by brew in MacOS does not be linked to /usr/local/lib by default. Users have to run brew link readline --force to facilitate Readline package to use it.

The default libreadline is in /usr/local/opt/readline/lib/. Adding the default dir into the path list avoids a potential error.