summaryrefslogtreecommitdiff
path: root/user/openjdk7/icedtea-jdk-no-soname.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-27 18:40:05 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-27 18:40:05 +0000
commit54003d7ae7f86ebba107ddad7ea6be0fdcaa6259 (patch)
tree0a7133751675e0de3c8e45b0e8775f99052a33b8 /user/openjdk7/icedtea-jdk-no-soname.patch
parent3bb3a78b53cf0b446af768d5b6dce145c0768f96 (diff)
downloadpackages-54003d7ae7f86ebba107ddad7ea6be0fdcaa6259.tar.gz
packages-54003d7ae7f86ebba107ddad7ea6be0fdcaa6259.tar.bz2
packages-54003d7ae7f86ebba107ddad7ea6be0fdcaa6259.tar.xz
packages-54003d7ae7f86ebba107ddad7ea6be0fdcaa6259.zip
{experimental => user}/openjdk7: new package
Diffstat (limited to 'user/openjdk7/icedtea-jdk-no-soname.patch')
-rw-r--r--user/openjdk7/icedtea-jdk-no-soname.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/user/openjdk7/icedtea-jdk-no-soname.patch b/user/openjdk7/icedtea-jdk-no-soname.patch
new file mode 100644
index 000000000..fe6bbb732
--- /dev/null
+++ b/user/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