diff options
author | Andrei Belov <defan@nginx.com> | 2019-09-16 13:28:06 +0300 |
---|---|---|
committer | Andrei Belov <defan@nginx.com> | 2019-09-16 13:28:06 +0300 |
commit | 6f1f3b48b2af56c96825dbcd149771ace67404ee (patch) | |
tree | a8a9c2c4fac9984f8ce1eae79709293575e39324 /pkg/rpm/Makefile.jsc11 | |
parent | 2a6af1d21407cffbb687fffa8b6a1e7c8a273ddd (diff) | |
download | unit-6f1f3b48b2af56c96825dbcd149771ace67404ee.tar.gz unit-6f1f3b48b2af56c96825dbcd149771ace67404ee.tar.bz2 |
Packages: added explicit library path for Java on RPM based distros.
This helps to avoid using excessive strictness in RPATH of Java modules.
Diffstat (limited to 'pkg/rpm/Makefile.jsc11')
-rw-r--r-- | pkg/rpm/Makefile.jsc11 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/rpm/Makefile.jsc11 b/pkg/rpm/Makefile.jsc11 index b32c4a86..38efa2a9 100644 --- a/pkg/rpm/Makefile.jsc11 +++ b/pkg/rpm/Makefile.jsc11 @@ -6,7 +6,7 @@ MODULE_SUMMARY_jsc11= Java 11 module for NGINX Unit MODULE_VERSION_jsc11= $(VERSION) MODULE_RELEASE_jsc11= 1 -MODULE_CONFARGS_jsc11= java --module=java11 --home=/usr/lib/jvm/java-11 --jars=/usr/share/unit-jsc-common/ +MODULE_CONFARGS_jsc11= java --module=java11 --home=/usr/lib/jvm/java-11 --lib-path=/usr/lib/jvm/jre-11/lib/server --jars=/usr/share/unit-jsc-common/ MODULE_MAKEARGS_jsc11= java11 MODULE_INSTARGS_jsc11= java11-install @@ -18,6 +18,7 @@ BUILD_DEPENDS+= $(BUILD_DEPENDS_jsc11) define MODULE_DEFINITIONS_jsc11 Requires: unit-jsc-common == $(MODULE_VERSION_jsc_common)-$(MODULE_RELEASE_jsc_common)%{?dist}.ngx +Requires: java-11-headless endef export MODULE_DEFINITIONS_jsc11 |