mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge pull request #5357
Zetok Zalbavar (1): docs(INSTALL.md): correct compiling instructions for some 64-bit distros
This commit is contained in:
commit
271233ba53
|
@ -510,6 +510,10 @@ git checkout v0.2.7
|
|||
cmake .
|
||||
make -j$(nproc)
|
||||
sudo make install
|
||||
|
||||
# we don't know what whether user runs 64 or 32 bits, and on some distros
|
||||
# (Fedora, openSUSE) lib/ doesn't link to lib64/, so add both
|
||||
echo '/usr/local/lib64/' | sudo tee -a /etc/ld.so.conf.d/locallib.conf
|
||||
echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf.d/locallib.conf
|
||||
sudo ldconfig
|
||||
```
|
||||
|
@ -524,6 +528,9 @@ If you are compiling on Fedora 25, you must add libtoxcore to the
|
|||
`PKG_CONFIG_PATH` environment variable manually:
|
||||
|
||||
```
|
||||
# we don't know what whether user runs 64 or 32 bits, and on some distros
|
||||
# (Fedora, openSUSE) lib/ doesn't link to lib64/, so add both
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/lib64/pkgconfig"
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig"
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user