summaryrefslogtreecommitdiff
path: root/legacy/openjdk7/icedtea-jdk-no-soname.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-07-23 19:11:15 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-07-23 19:11:15 +0000
commit0273b68c9ce66484512d810a98e8a4551e889e1e (patch)
treee35278030dc7b5b246138bb17fe728ab1f4190f7 /legacy/openjdk7/icedtea-jdk-no-soname.patch
parent2a532cb81b163020b1b3348e227b9108a4e5be5f (diff)
downloadpackages-0273b68c9ce66484512d810a98e8a4551e889e1e.tar.gz
packages-0273b68c9ce66484512d810a98e8a4551e889e1e.tar.bz2
packages-0273b68c9ce66484512d810a98e8a4551e889e1e.tar.xz
packages-0273b68c9ce66484512d810a98e8a4551e889e1e.zip
user/openjdk7: move to legacy, only useful for BSing jdk8
Diffstat (limited to 'legacy/openjdk7/icedtea-jdk-no-soname.patch')
-rw-r--r--legacy/openjdk7/icedtea-jdk-no-soname.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/legacy/openjdk7/icedtea-jdk-no-soname.patch b/legacy/openjdk7/icedtea-jdk-no-soname.patch
new file mode 100644
index 000000000..fe6bbb732
--- /dev/null
+++ b/legacy/openjdk7/icedtea-jdk-no-soname.patch
@@ -0,0 +1,12 @@
+--- ./openjdk/jdk/make/common/Defs-linux.gmk.orig
++++ ./openjdk/jdk/make/common/Defs-linux.gmk
+@@ -248,7 +248,9 @@
+ #
+ LDFLAGS_OPT = -Xlinker -O1
+ LDFLAGS_COMMON += -L$(LIBDIR)/$(LIBARCH)
++ifdef LIBRARY
+ LDFLAGS_COMMON += -Wl,-soname=$(LIB_PREFIX)$(LIBRARY).$(LIBRARY_SUFFIX)
++endif
+
+ #
+ # -static-libgcc is a gcc-3 flag to statically link libgcc, gcc-2.9x always