summaryrefslogtreecommitdiff
path: root/salhelper
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2011-12-15 22:11:59 +0100
committerMichael Stahl <mstahl@redhat.com>2011-12-15 22:14:27 +0100
commitf3b7bfcef472ed31b341c008793d96ed2bafae4b (patch)
treefb14f4121e004c300c976cf5034945aa142cb516 /salhelper
parent039cdb19e69b59b95609025c2d23cdb84f5c73c0 (diff)
salhelper: s/hack/gb_Library_set_soversion_script/
Diffstat (limited to 'salhelper')
-rw-r--r--salhelper/Library_salhelper.mk26
1 files changed, 1 insertions, 25 deletions
diff --git a/salhelper/Library_salhelper.mk b/salhelper/Library_salhelper.mk
index c77d1f049fa0..d98cd220f037 100644
--- a/salhelper/Library_salhelper.mk
+++ b/salhelper/Library_salhelper.mk
@@ -52,30 +52,6 @@ $(eval $(call gb_Library_add_exception_objects,salhelper,\
# Solaris would need something like this, too. Its backwards compatibility is
# broken for now:
-ifeq ($(OS),LINUX)
-
-$(eval $(call gb_Library_add_ldflags,salhelper, \
- -Wl$(COMMA)--soname=libuno_salhelpergcc3.so.3 \
- -Wl$(COMMA)--version-script=$(SRCDIR)/salhelper/source/gcc3.map \
-))
-
-$(call gb_LinkTarget_get_target,$(call \
-gb_Library_get_linktargetname,salhelper)): $(SRCDIR)/salhelper/source/gcc3.map
-
-endif
-
-# A hack to generate the soname symlink in the solver:
-
-ifneq ($(OS),WNT)
-
-$(call gb_Library_get_target,salhelper): | \
- $(call gb_Library_get_target,salhelper).3
-
-$(call gb_Library_get_target,salhelper).3:
- $(call gb_Helper_abbreviate_dirs,rm -f $@)
- $(call gb_Helper_abbreviate_dirs, \
- ln -s $(notdir $(call gb_Library_get_target,salhelper)) $@)
-
-endif
+$(eval $(call gb_Library_set_soversion_script,salhelper,3,$(SRCDIR)/salhelper/source/gcc3.map))
# vim: set noet sw=4 ts=4: