Skip to content

Commit b248faf

Browse files
authored
Update README.md
1 parent 54c49e0 commit b248faf

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,23 @@ npm install node-luajit --unsafe-perm
2424
```
2525

2626
#### node 8.x 10.x:
27-
In Linux, need add one line `/usr/local/lib` to ` /etc/ld.so.conf` file, and run `「/sbin/ldconfig –v」` refresh.
27+
Linux build luajit
28+
```
29+
git clone https://github.com/LuaJIT/LuaJIT.git
30+
make
31+
sudo make install
32+
```
33+
34+
and need add one line `/usr/local/lib` to ` /etc/ld.so.conf` file, and run `「/sbin/ldconfig –v」` refresh.
35+
36+
or
37+
38+
```
39+
ln -s /usr/local/lib/libluajit-5.1.so.2.0.4 /usr/lib
40+
41+
sudo ldconfig
42+
```
43+
2844

2945
## simple usage
3046

0 commit comments

Comments
 (0)