forked from jitsi/libjitsi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request jitsi#243 from jitsi/update-usrsctp-build-instruct…
…ions new README.md file for building the usrsctp lib.
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Build Instructions | ||
|
||
## Building the usrsctp static lib | ||
1. Checkout usrsctp source: | ||
* `cd src/native/sctp` | ||
* `git clone https://github.com/sctplab/usrsctp.git` | ||
2. Build usrsctp | ||
* `cd src/native/sctp/usrsctp` | ||
* `./configure --with-pic` | ||
* `make` | ||
|
||
## Building the java jni wrapper lib | ||
1. From `libjitsi/` run `ant -v -lib ~/.m2/repository/org/apache/maven/maven-ant-tasks/2.1.3 sctp -Dusrsctp=<LOCATION_OF_SCTP_DIR>` | ||
2. When setting the location of the sctp dir, it's easiest to use an absolute path, as otherwise it will be taken relative to a directoy a few levels below. NOTE: If you don't pass your sctp dir in correctly, the build will end up using the system usrsctp lib (if there is one) | ||
3. A new libjnsctp.so will be put in `libjitsi/lib/native/<your_arch>` |