diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-14 12:34:03 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-15 16:56:06 +0000 |
commit | bce7f852848e4650bd09fd3ca52b89e9697f4e68 (patch) | |
tree | c7724f80aa521006903e045486e9a2ee944d4899 /main/openjdk6/icedtea-jdk-no-soname.patch | |
parent | aaa5d82eded54337d0fc09a4720e6f2b3f711fec (diff) | |
download | aports-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.patch | 12 |
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 |