Skip to content

Commit

Permalink
java_api.md: "$DDLOG" -> "$DDLOG_HOME".
Browse files Browse the repository at this point in the history
  • Loading branch information
ryzhyk authored Jul 29, 2020
1 parent a202ae8 commit 1856627
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/java_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ cargo build --features=flatbuf --release
```

Link the compiled DDlog program along with the DDlog Java API bindings in a
single dynamic library. Assuming the `$DDLOG` environment variable points to
single dynamic library. Assuming the `$DDLOG_HOME` environment variable points to
the directory where DDlog is installed:

```
cc -shared -fPIC -I${JAVA_HOME}/include -I${JAVA_HOME}/include/${JDK_OS} -I. -I${DDLOG}/lib ${DDLOG}/java/ddlogapi.c -Ltarget/release/ -lredist_ddlog -o libddlogapi.so
cc -shared -fPIC -I${JAVA_HOME}/include -I${JAVA_HOME}/include/${JDK_OS} -I. -I${DDLOG_HOME}/lib ${DDLOG_HOME}/java/ddlogapi.c -Ltarget/release/ -lredist_ddlog -o libddlogapi.so
```

(on a Mac, use the `.dylib` extension instead of `.so`).
Expand Down

0 comments on commit 1856627

Please sign in to comment.