Changeset 809
- Timestamp:
- Jan 23, 2017, 9:44:49 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/install/installation.rst
r806 r809 343 343 file. 344 344 345 .. note:: 346 You can use the `--with-java-rpath` option to produce a binary 347 aware of the libjvm location. 348 345 349 346 350 .. note:: -
trunk/zoo-project/zoo-kernel/configure.ac
r805 r809 595 595 [JDKHOME="$withval"; JAVA_ENABLED="-DUSE_JAVA"], [JAVA_ENABLED=""]) 596 596 597 AC_ARG_WITH([java-rpath], 598 [AS_HELP_STRING([--with-java-rpath=yes], [To set rpath for java support, disabled by default])], 599 [JAVA_RPATH="$withval"], [JAVA_RPATH=""]) 600 597 601 if test -z "$JAVA_ENABLED" 598 602 then … … 621 625 JAVA_LDFLAGS="-L$JDKHOME/jre/lib/i386/server/ -ljvm -lpthread" 622 626 JAVA_CPPFLAGS="-I$JDKHOME/include -I$JDKHOME/include/linux" 627 if test x$JAVA_RPATH = "xyes"; then 628 JAVA_LDFLAGS="$JAVA_LDFLAGS -Wl,-rpath,$JDKHOME/jre/lib/i386/server/" 629 fi 623 630 else 624 631 if test -d "$JDKHOME/jre/lib/amd64"; then 625 632 JAVA_LDFLAGS="-L$JDKHOME/jre/lib/amd64/server/ -ljvm -lpthread" 626 633 JAVA_CPPFLAGS="-I$JDKHOME/include -I$JDKHOME/include/linux" 634 if test x$JAVA_RPATH = "xyes"; then 635 JAVA_LDFLAGS="$JAVA_LDFLAGS -Wl,-rpath,$JDKHOME/jre/lib/amd64/server/" 636 fi 627 637 else 628 638 JAVA_LDFLAGS="-L$JDKHOME/jre/lib/server/ -ljvm -lpthread" 629 639 JAVA_CPPFLAGS="-I$JDKHOME/include/ -I$JDKHOME/include/darwin" 640 if test x$JAVA_RPATH = "xyes"; then 641 JAVA_LDFLAGS="$JAVA_LDFLAGS -Wl,-rpath,$JDKHOME/jre/lib/server/" 642 fi 630 643 fi 631 644 fi
Note: See TracChangeset
for help on using the changeset viewer.