2011-09-27 14:27:09 +00:00
|
|
|
From: Jan Engelhardt <jengelh@medozas.de>
|
|
|
|
Date: 2011-09-27 01:14:35.063711195 +0200
|
|
|
|
|
2015-09-14 10:40:35 +00:00
|
|
|
Pass -Wl,-soname to the linker so that we have a consistent
|
|
|
|
library request in a program executable.
|
2011-09-27 14:27:09 +00:00
|
|
|
---
|
|
|
|
Rules.make.in | 4 ++--
|
|
|
|
src/Makefile.in | 2 +-
|
|
|
|
2 files changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
|
|
|
|
Index: libcfg+-0.6.2/Rules.make.in
|
|
|
|
===================================================================
|
|
|
|
--- libcfg+-0.6.2.orig/Rules.make.in
|
|
|
|
+++ libcfg+-0.6.2/Rules.make.in
|
|
|
|
@@ -160,7 +160,7 @@ $(LIBSTATIC): $(OBJECTS)
|
|
|
|
$(AR) r $@ $(OBJECTS)
|
|
|
|
|
|
|
|
$(LIBDYNAMICV): $(OBJECTS)
|
|
|
|
- $(LD) $(LDFLAGS) -shared -o $@ $(OBJECTS)
|
|
|
|
+ $(CCLD) $(LDFLAGS) -Wl,-soname -Wl,${LIBDYNAMICV} -shared -o $@ $(OBJECTS)
|
|
|
|
|
|
|
|
%.o: %.c $(CONFIG_HEADER)
|
|
|
|
@echo '$(COMPILE) -c $<'; \
|