[mathicgb] 194/393: Added link of the rt library, which is apparently needed on gcc for some platforms. It seems to implement the time functionality from time().

Doug Torrance dtorrance-guest at moszumanska.debian.org
Fri Apr 3 15:58:59 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch upstream
in repository mathicgb.

commit 4cb8598b3c895599fb01303f3de1613181b45f72
Author: Bjarke Hammersholt Roune <bjarkehr.code at gmail.com>
Date:   Wed Mar 20 22:08:48 2013 +0100

    Added link of the rt library, which is apparently needed on gcc for some platforms. It seems to implement the time functionality from time().
---
 Makefile.am  | 4 ++--
 configure.ac | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 61ac911..422a002 100755
--- a/Makefile.am
+++ b/Makefile.am
@@ -87,7 +87,7 @@ mgb_SOURCES = src/cli/GBMain.cpp src/cli/CommonParams.hpp				\
   src/cli/MatrixAction.cpp src/cli/MatrixAction.hpp						\
   src/cli/SigGBAction.hpp src/cli/SigGBAction.cpp						\
   src/cli/HelpAction.hpp src/cli/HelpAction.cpp
-mgb_LDADD = $(top_builddir)/libmathicgb.la
+mgb_LDADD = $(top_builddir)/libmathicgb.la $(DEPS_LIBS)
 
 # set up tests to run on "make check"
 TESTS=unittest
@@ -98,7 +98,7 @@ unittest_CXXFLAGS=\
   -I$(top_srcdir)/libs/gtest/include\
   -I$(top_srcdir)/libs/gtest/\
   -I$(top_srcdir)/src/ -std=gnu++0x
-unittest_LDADD = $(DEPS_LIBS) libmathicgb.la
+unittest_LDADD = $(DEPS_LIBS) libmathicgb.la $(DEPS_LIBS)
 
 test_LIBS=
 unittest_SOURCES=src/test/FreeModuleOrderTest.cpp						\
diff --git a/configure.ac b/configure.ac
index 5bb8aec..6f50e8d 100755
--- a/configure.ac
+++ b/configure.ac
@@ -18,7 +18,7 @@ AS_IF(
 )
 
 DEPS_CFLAGS="$MEMTAILOR_CFLAGS $MATHIC_CFLAGS $TBB_CFLAGS"
-DEPS_LIBS="$MEMTAILOR_LIBS $MATHIC_LIBS $TBB_LIBS"
+DEPS_LIBS="$MEMTAILOR_LIBS $MATHIC_LIBS $TBB_LIBS -lrt"
 AC_SUBST(DEPS_CFLAGS)
 AC_SUBST(DEPS_LIBS)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mathicgb.git



More information about the debian-science-commits mailing list