From d6a45f6bdbf7c71eda9e4ab1ab78b373be5422b9 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 3 Mar 2014 15:29:58 +0100 Subject: [PATCH] Don't set an absolute soname --- libraries.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries.mk b/libraries.mk index 2da6c9b6a..4b8292cc2 100644 --- a/libraries.mk +++ b/libraries.mk @@ -66,6 +66,10 @@ define build-library endif endif + ifneq ($(OS), Darwin) + $(1)_LDFLAGS += -Wl,-soname=$$($(1)_NAME).$(SO_EXT) + endif + $(1)_PATH := $$(_d)/$$($(1)_NAME).$(SO_EXT) $$($(1)_PATH): $$($(1)_OBJS) $$(_libs) | $$(_d)/