summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-04-04 17:43:07 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-04-04 17:43:07 +0800
commit8b16f4c890cd60b059a423cde4c60d0f3b5218cf (patch)
treef762034942ee475aff6fc966d7b4145f89344aa5
parent711d885f0d8b6c0788bc62c0d58c44eaaf1391c9 (diff)
Update README for building and installing shared library
-rw-r--r--README.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/README.md b/README.md
index 82ca11b..363acd1 100644
--- a/README.md
+++ b/README.md
@@ -7,6 +7,7 @@
```sh
$ git clone git://darapsa.org/librtclient.git
$ cd librtclient
+$ libtoolize
$ autoreconf --install
```
@@ -26,19 +27,20 @@ $ ./configure
or
```sh
-$ CC=/usr/local/aarch64-linux-android/bin/aarch64-linux-android-clang ./configure --host=aarch64-linux-android
+$ CC=/usr/local/aarch64-linux-android/bin/aarch64-linux-android-clang RANLIB=/usr/local/aarch64-linux-android/bin/aarch64-linux-android-ranlib ./configure --host=aarch64-linux-android --prefix=/usr/local/aarch64-linux-android/sysroot/usr
```
or
```sh
-$ CC=/usr/local/arm-linux-androideabi/bin/arm-linux-androideabi-clang ./configure --host=arm-linux-androideabi
+$ CC=/usr/local/arm-linux-androideabi/bin/arm-linux-androideabi-clang RANLIB=/usr/local/arm-linux-androideabi/bin/arm-linux-androideabi-ranlib ./configure --host=arm-linux-androideabi --prefix=/usr/local/arm-linux-androideabi/sysroot/usr
```
or so on.
-## Compiling and linking
+## Compiling, linking, and installing
```sh
$ make # -jN (with N an integer number of parallel tasks you allow your computer to run for compiling this)
+$ sudo make install
```