mirror of
https://github.com/dvorka/hstr.git
synced 2024-11-13 03:18:35 +08:00
Improving Mac installation instructions.
This commit is contained in:
parent
8a892d0bb9
commit
ba5a9c822f
1 changed files with 4 additions and 7 deletions
|
@ -98,14 +98,11 @@ port install readline
|
||||||
port install ncurses
|
port install ncurses
|
||||||
```
|
```
|
||||||
|
|
||||||
Set the environment:
|
Build and install:
|
||||||
```bash
|
```bash
|
||||||
env CFLAGS="-I/opt/local/include -I/usr/include" LDFLAGS="-L/opt/local/lib -L/usr/lib" ./configure
|
autoreconf -fvi
|
||||||
```
|
./configure CFLAGS=-I$(brew --prefix)/opt/readline/include LDFLAGS=-L$(brew --prefix)/opt/readline/lib
|
||||||
|
make
|
||||||
Finish the installation
|
|
||||||
```bash
|
|
||||||
make && make install
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Optionally [configure](CONFIGURATION.md) `hh` and check its [man page](README.md#documentation).
|
Optionally [configure](CONFIGURATION.md) `hh` and check its [man page](README.md#documentation).
|
||||||
|
|
Loading…
Reference in a new issue