Commit a214188982c4c21c0e0ce1bb4506ea2fd54b1f31
1 parent
3231b29b
Exists in
master
and in
5 other branches
Acertando empacotamento em windows 64.
Showing
1 changed file
with
11 additions
and
2 deletions
Show diff stats
configure.ac
| ... | ... | @@ -474,8 +474,17 @@ fi |
| 474 | 474 | # Java link options depends on OS |
| 475 | 475 | case "$host" in |
| 476 | 476 | *-mingw32) |
| 477 | -# jvm_libs="-L\"\$(JDK_HOME)/lib\" -ljvm" | |
| 478 | - jvm_libs="-L\"\$(JRE_HOME)/bin/client\" -ljvm" | |
| 477 | + | |
| 478 | + if test -e "$JRE_HOME/bin/client/jvm.dll"; then | |
| 479 | + AC_MSG_NOTICE(Found $JRE_HOME/bin/client/jvm.dll) | |
| 480 | + jvm_libs="-L\"\$(JRE_HOME)/bin/client\" -ljvm" | |
| 481 | + elif test -e "$JRE_HOME/bin/server/jvm.dll"; then | |
| 482 | + AC_MSG_NOTICE(Found $JRE_HOME/bin/server/jvm.dll) | |
| 483 | + jvm_libs="-L\"\$(JRE_HOME)/bin/server\" -ljvm" | |
| 484 | + else | |
| 485 | + AC_MSG_NOTICE([Can't find jvm.dll.]) | |
| 486 | + app_cv_java="no" | |
| 487 | + fi | |
| 479 | 488 | ;; |
| 480 | 489 | |
| 481 | 490 | *-apple-*) | ... | ... |