From: AVazquez <vazlup@gmail.com>
To: ptxdist@pengutronix.de
Cc: Alejandro Vazquez <vazlup@gmail.com>
Subject: [ptxdist] [PATCH] Add .so links for native libraries.
Date: Thu, 12 Jul 2018 11:55:45 +0200 [thread overview]
Message-ID: <1531389345-15538-1-git-send-email-vazlup@gmail.com> (raw)
From: Alejandro Vazquez <vazlup@gmail.com>
Needed for JVMs (such as JamVM) that expect that native library
"foo" is present in the file system as "libfoo.so".
Signed-off-by: Alejandro Vazquez <vazlup@gmail.com>
---
rules/classpath.make | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/rules/classpath.make b/rules/classpath.make
index 6855609..e557dbf 100644
--- a/rules/classpath.make
+++ b/rules/classpath.make
@@ -149,6 +149,14 @@ $(STATEDIR)/classpath.targetinstall:
@$(call install_lib, classpath, 0, 0, 0644, classpath/libjavalangreflect)
@$(call install_lib, classpath, 0, 0, 0644, classpath/libjavanio)
+ @$(call install_link, classpath, libjavautil.so.0.0.0, /usr/lib/classpath/libjavautil.so)
+ @$(call install_link, classpath, libjavalangmanagement.so.0.0.0, /usr/lib/classpath/libjavalangmanagement.so)
+ @$(call install_link, classpath, libjavaio.so.0.0.0, /usr/lib/classpath/libjavaio.so)
+ @$(call install_link, classpath, libjavalang.so.0.0.0, /usr/lib/classpath/libjavalang.so)
+ @$(call install_link, classpath, libjavanet.so.0.0.0, /usr/lib/classpath/libjavanet.so)
+ @$(call install_link, classpath, libjavalangreflect.so.0.0.0, /usr/lib/classpath/libjavalangreflect.so)
+ @$(call install_link, classpath, libjavanio.so.0.0.0, /usr/lib/classpath/libjavanio.so)
+
@$(call install_copy, classpath, 0, 0, 0644, -, /usr/lib/security/classpath.security)
@$(call install_copy, classpath, 0, 0, 0644, -, /usr/lib/logging.properties)
--
1.9.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
reply other threads:[~2018-07-12 9:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1531389345-15538-1-git-send-email-vazlup@gmail.com \
--to=vazlup@gmail.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox