aboutsummaryrefslogtreecommitdiffstats
path: root/main/openjdk6/icedtea-jdk-no-soname.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-09-14 12:34:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-09-15 16:56:06 +0000
commitbce7f852848e4650bd09fd3ca52b89e9697f4e68 (patch)
treec7724f80aa521006903e045486e9a2ee944d4899 /main/openjdk6/icedtea-jdk-no-soname.patch
parentaaa5d82eded54337d0fc09a4720e6f2b3f711fec (diff)
downloadaports-bce7f852848e4650bd09fd3ca52b89e9697f4e68.tar.bz2
aports-bce7f852848e4650bd09fd3ca52b89e9697f4e68.tar.xz
main/openjdk: fix executables to not set soname to lib.so
It confuses abuild
Diffstat (limited to 'main/openjdk6/icedtea-jdk-no-soname.patch')
-rw-r--r--main/openjdk6/icedtea-jdk-no-soname.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/openjdk6/icedtea-jdk-no-soname.patch b/main/openjdk6/icedtea-jdk-no-soname.patch
new file mode 100644
index 0000000000..fe6bbb7329
--- /dev/null
+++ b/main/openjdk6/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