From 14f81abaaeb579036ec5ed1801a0ecb88aebbc83 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Feb 17 2010 15:33:23 +0000 Subject: all of libvirt_test.la needs -ldl --- diff --git a/libvirt-0.7.6-add-needed.patch b/libvirt-0.7.6-add-needed.patch index 51472a7..46aebe0 100644 --- a/libvirt-0.7.6-add-needed.patch +++ b/libvirt-0.7.6-add-needed.patch @@ -1,12 +1,13 @@ diff -up libvirt-0.7.6/tests/Makefile.am.jx libvirt-0.7.6/tests/Makefile.am --- libvirt-0.7.6/tests/Makefile.am.jx 2010-01-21 09:32:37.000000000 -0500 -+++ libvirt-0.7.6/tests/Makefile.am 2010-02-16 18:49:36.000000000 -0500 -@@ -317,7 +317,7 @@ conftest_LDADD = $(LDADDS) ++++ libvirt-0.7.6/tests/Makefile.am 2010-02-17 10:32:27.000000000 -0500 +@@ -37,7 +37,8 @@ LDADDS = \ + ../src/libvirt_test.la \ + ../gnulib/lib/libgnu.la \ + $(LIBSOCKET) \ +- $(COVERAGE_LDFLAGS) ++ $(COVERAGE_LDFLAGS) \ ++ -ldl - nodeinfotest_SOURCES = \ - nodeinfotest.c testutils.h testutils.c --nodeinfotest_LDADD = $(LDADDS) -+nodeinfotest_LDADD = $(LDADDS) -ldl - - statstest_SOURCES = \ - statstest.c testutils.h testutils.c + qemuhelpdata = \ + kvm-74 \ diff --git a/libvirt.spec b/libvirt.spec index 9df28fe..c7938d2 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -399,7 +399,7 @@ of recent versions of Linux (and other OSes). %prep %setup -q -%patch0 -p1 -b .add-needed +%patch0 -p1 -b .jx %build %if ! %{with_xen}