summaryrefslogtreecommitdiff
path: root/experimental/openjdk7/icedtea-jdk-no-soname.patch
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/openjdk7/icedtea-jdk-no-soname.patch')
-rw-r--r--experimental/openjdk7/icedtea-jdk-no-soname.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/experimental/openjdk7/icedtea-jdk-no-soname.patch b/experimental/openjdk7/icedtea-jdk-no-soname.patch
new file mode 100644
index 000000000..fe6bbb732
--- /dev/null
+++ b/experimental/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