Skip to content

Commit

Permalink
dll dependency issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Rode committed Mar 23, 2018
1 parent 05d1b69 commit 40e270d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/SegmentFilters.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ Test JNI loading within project directory:
```
java -Djava.library.path=jniplugin/native/win64/target -cp jniplugin/java/target/classes cc0.JniExample
```
java -cp jniplugin/target/jniplugin-java-0.1.1-SNAPSHOT.jar cc0.JniExample
gi

Some messages should appear: **Hello from C++!** ...

Expand Down
2 changes: 1 addition & 1 deletion jniplugin/native/win32/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
</compilerStartOptions>
<!-- some systems need link flag -m32 -->
<linkerStartOptions>
<linkerStartOption>-shared -Wl,--add-stdcall-alias,--kill-at ${gcc.customflags}</linkerStartOption>
<linkerStartOption>-shared -Wl,--add-stdcall-alias,--kill-at ${gcc.customflags} -static-libgcc -static-libstdc++</linkerStartOption>
</linkerStartOptions>

</configuration>
Expand Down

0 comments on commit 40e270d

Please sign in to comment.