* [ptxdist] [PATCH] Add .so links for native libraries.
@ 2018-07-12 9:55 AVazquez
0 siblings, 0 replies; only message in thread
From: AVazquez @ 2018-07-12 9:55 UTC (permalink / raw)
To: ptxdist; +Cc: Alejandro Vazquez
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-07-12 9:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-12 9:55 [ptxdist] [PATCH] Add .so links for native libraries AVazquez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox