[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/64: Don't set an absolute soname
From: |
Ludovic Courtès |
Subject: |
08/64: Don't set an absolute soname |
Date: |
Mon, 05 Jan 2015 16:38:51 +0000 |
civodul pushed a commit to branch nix
in repository guix.
commit d6a45f6bdbf7c71eda9e4ab1ab78b373be5422b9
Author: Eelco Dolstra <address@hidden>
Date: Mon Mar 3 15:29:58 2014 +0100
Don't set an absolute soname
---
libraries.mk | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/libraries.mk b/libraries.mk
index 2da6c9b..4b8292c 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)/
- 06/64: Add a variable GLOBAL_CXXFLAGS_PCH for use by precompiled headers, (continued)
- 06/64: Add a variable GLOBAL_CXXFLAGS_PCH for use by precompiled headers, Ludovic Courtès, 2015/01/05
- 05/64: Add variable GLOBAL_COMMON_DEPS, Ludovic Courtès, 2015/01/05
- 07/64: Add support for making relocatable packages using $ORIGIN, Ludovic Courtès, 2015/01/05
- 09/64: Tweak error message, Ludovic Courtès, 2015/01/05
- 04/64: Make it work on GNU Make > 3.81 again, Ludovic Courtès, 2015/01/05
- 10/64: Support Illumos, Ludovic Courtès, 2015/01/05
- 11/64: Sync with make-rules repo, Ludovic Courtès, 2015/01/05
- 12/64: Fix compile errors on Illumos, Ludovic Courtès, 2015/01/05
- 13/64: Document that we require a C++11 compiler, Ludovic Courtès, 2015/01/05
- 16/64: Remove unnecessary quotes around file names, Ludovic Courtès, 2015/01/05
- 08/64: Don't set an absolute soname,
Ludovic Courtès <=
- 15/64: Include position info in function application, Ludovic Courtès, 2015/01/05
- 14/64: Update release notes, Ludovic Courtès, 2015/01/05
- 18/64: forceInt: Show position info, Ludovic Courtès, 2015/01/05
- 19/64: forceList: Show position info, Ludovic Courtès, 2015/01/05
- 21/64: forceString: Show position info, Ludovic Courtès, 2015/01/05
- 25/64: Show position info in attribute selection errors, Ludovic Courtès, 2015/01/05
- 29/64: nix-shell --pure: Keep the user's $PAGER, Ludovic Courtès, 2015/01/05
- 27/64: Update release notes, Ludovic Courtès, 2015/01/05
- 26/64: Install systemd units, Ludovic Courtès, 2015/01/05
- 20/64: forceAttrs: Show position info, Ludovic Courtès, 2015/01/05