hal/libhal Makefile.am,1.3,1.4

David Zeuthen david at freedesktop.org
Tue Aug 23 12:53:26 PDT 2005


Update of /cvs/hal/hal/libhal
In directory gabe:/tmp/cvs-serv20526/libhal

Modified Files:
	Makefile.am 
Log Message:
2005-08-23  David Zeuthen  <davidz at redhat.com>

        * libhal/Makefile.am, configure.in: Since gcc 3.4.4, 4.0.1 and
        4.1.0, some gcov symbols have been declared hidden, resulting in a
        link error when trying to link hald-probe-*. The problem is that
        libhal.so hasn't been linked with libgcov. Patch from Cornelia
        Huck <cohuck at de.ibm.com>.



Index: Makefile.am
===================================================================
RCS file: /cvs/hal/hal/libhal/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Makefile.am	31 Jan 2005 20:06:41 -0000	1.3
+++ Makefile.am	23 Aug 2005 19:53:24 -0000	1.4
@@ -16,7 +16,12 @@
 	libhal.c                  libhal.h
 
 
-libhal_la_LIBADD = @DBUS_LIBS@ 
+if GCOV
+LIBGCOV = -lgcov
+else
+LIBGCOV = 
+endif
+libhal_la_LIBADD = @DBUS_LIBS@ $(LIBGCOV)
 
 libhal_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
 




More information about the hal-commit mailing list