/hg/icedtea-web: Fix run-cpp-unit-tests on F18

adomurad at icedtea.classpath.org adomurad at icedtea.classpath.org
Tue Mar 19 09:24:15 PDT 2013


changeset 1a6aed3d44dd in /hg/icedtea-web
details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=1a6aed3d44dd
author: Adam Domurad <adomurad at redhat.com>
date: Tue Mar 19 12:25:12 2013 -0400

	Fix run-cpp-unit-tests on F18


diffstat:

 ChangeLog   |  6 ++++++
 Makefile.am |  2 ++
 2 files changed, 8 insertions(+), 0 deletions(-)

diffs (25 lines):

diff -r e6c51c4b4d20 -r 1a6aed3d44dd ChangeLog
--- a/ChangeLog	Wed Mar 13 14:51:20 2013 +0100
+++ b/ChangeLog	Tue Mar 19 12:25:12 2013 -0400
@@ -1,3 +1,9 @@
+2013-19-03  Adam Domurad  <adomurad at redhat.com>
+
+	* Makefile.am
+	(CPP_UNITTEST_EXECUTABLE): Add -lrt & -lpthread flags, which do not
+	seem to be brought in on all systems.
+
 2012-13-03  Jiri Vanek <jvanek at redhat.com>
 
 	* NEWS: mentioned de translation
diff -r e6c51c4b4d20 -r 1a6aed3d44dd Makefile.am
--- a/Makefile.am	Wed Mar 13 14:51:20 2013 +0100
+++ b/Makefile.am	Tue Mar 19 12:25:12 2013 -0400
@@ -367,6 +367,8 @@
 	$(CXX) $(CXXFLAGS) \
 	  $(addprefix $(PLUGIN_DIR)/,$(PLUGIN_OBJECTS)) \
 	  $(CPP_UNITTEST_DIR)/*.o \
+	  -lrt \ 
+	  -lpthread \ 
 	  $(GLIB_LIBS) \
 	  $(MOZILLA_LIBS) \
 	  $(CPP_UNITTEST_FRAMEWORK_LIB)\



More information about the distro-pkg-dev mailing list