public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-lang/R/files: R-3.0.0-rmath-shared.patch
@ 2013-04-04 22:10 Denis Dupeyron (calchan)
  0 siblings, 0 replies; only message in thread
From: Denis Dupeyron (calchan) @ 2013-04-04 22:10 UTC (permalink / raw
  To: gentoo-commits

calchan     13/04/04 22:10:01

  Added:                R-3.0.0-rmath-shared.patch
  Log:
  Version bump.
  
  (Portage version: 2.1.11.59/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.1                  dev-lang/R/files/R-3.0.0-rmath-shared.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/R/files/R-3.0.0-rmath-shared.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/R/files/R-3.0.0-rmath-shared.patch?rev=1.1&content-type=text/plain

Index: R-3.0.0-rmath-shared.patch
===================================================================
Link with libm to fix unresolved symbols when linked with as-needed
and add a soname to the standalone math library
Patch by Sebastien Fabbro
Adapted to R-3.0.0 by Denis Dupeyron
--- src/nmath/standalone/Makefile.in.orig	2013-04-04 14:39:15.777544946 -0600
+++ src/nmath/standalone/Makefile.in	2013-04-04 14:40:51.256153179 -0600
@@ -64,7 +64,8 @@
 Rexeclibdir_LTLIBRARIES = $(libRmath_la)
 libRmath_la_SOURCES = $(SOURCES)
 libRmath_la_OBJECTS = $(OBJECTS:.o=.lo)
-libRmath_la_LDFLAGS =
+libRmath_la_LDFLAGS = -Wl,-soname=libRmath.so
+libRmath_la_LIBADD = $(LIBM)
 
 CLEANFILES = Makedeps *.d *.o *.lo test $(SOURCES)
 DISTCLEANFILES = Makefile $(Rexeclibdir_LIBRARIES) $(Rexeclibdir_LTLIBRARIES)
@@ -117,7 +118,7 @@
 
 ## under peculiar circumstances, $(LIBM) here helps.
 $(libRmath_la): $(libRmath_la_OBJECTS)
-	$(DYLIB_LINK) -o $@ $(libRmath_la_LDFLAGS) $(libRmath_la_OBJECTS) $(LIBM)
+	$(DYLIB_LINK) $(libRmath_la_LDFLAGS) $(libRmath_la_OBJECTS) $(libRmath_la_LIBADD) -o $@
 
 test: $(srcdir)/test.c
 	$(CC) -o $@ $(ALL_CPPFLAGS) $(ALL_CFLAGS) $(srcdir)/test.c \





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

only message in thread, other threads:[~2013-04-04 22:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-04 22:10 [gentoo-commits] gentoo-x86 commit in dev-lang/R/files: R-3.0.0-rmath-shared.patch Denis Dupeyron (calchan)

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