public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-util/bdelta/files: bdelta-0.3.0-soname.patch
@ 2012-10-02 21:52 Sergei Trofimovich (slyfox)
  0 siblings, 0 replies; only message in thread
From: Sergei Trofimovich (slyfox) @ 2012-10-02 21:52 UTC (permalink / raw
  To: gentoo-commits

slyfox      12/10/02 21:52:25

  Added:                bdelta-0.3.0-soname.patch
  Log:
  Fix missing soname for libbdelta.so (bug #436990 by  Ilya Gordeev).
  
  (Portage version: 2.2.0_alpha124_p5/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-util/bdelta/files/bdelta-0.3.0-soname.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/bdelta/files/bdelta-0.3.0-soname.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/bdelta/files/bdelta-0.3.0-soname.patch?rev=1.1&content-type=text/plain

Index: bdelta-0.3.0-soname.patch
===================================================================
Gentoo-bug: https://bugs.gentoo.org/show_bug.cgi?id=436990
Reported-by: lya Gordeev

Assign simple soname to library.
diff --git a/src/Makefile b/src/Makefile
index 18a28e8..1b16203 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -3,13 +3,14 @@ PREFIX   ?= /usr
 BINDIR   ?= $(PREFIX)/bin
 LIBDIR   ?= ${PREFIX}/lib
 CXXFLAGS += -O2
+DYLIB_LDFLAGS ?= -Wl,-soname,libbdelta.so
 
 ALL_TARGETS = bpatch libbdelta.so bdelta
 
 all: $(ALL_TARGETS)
 
 libbdelta.so: libbdelta.cpp compatibility.h checksum.h file.h
-	$(CXX) -shared -fPIC $(CXXFLAGS) $(LDFLAGS) $< -o $@
+	$(CXX) -shared -fPIC $(CXXFLAGS) $(LDFLAGS) $(DYLIB_LDFLAGS) $< -o $@
 
 bdelta: bdelta.cpp bdelta.h compatibility.h file.h libbdelta.so
 	$(CXX) $< -o $@ $(CXXFLAGS) $(LDFLAGS) -L. -lbdelta





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-10-02 21:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-02 21:52 [gentoo-commits] gentoo-x86 commit in dev-util/bdelta/files: bdelta-0.3.0-soname.patch Sergei Trofimovich (slyfox)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox