diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2014-01-30 14:56:49 +0100 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2014-02-09 13:06:02 +0200 |
commit | 73db416ae7941f8ffeabc060ec87402b97314b6d (patch) | |
tree | 61e4029f7611033174b2a076ef10de9465b8821d | |
parent | 1f6b12f75f2c22f861d0202374033a7594c91707 (diff) | |
download | qemu-73db416ae7941f8ffeabc060ec87402b97314b6d.zip qemu-73db416ae7941f8ffeabc060ec87402b97314b6d.tar.gz qemu-73db416ae7941f8ffeabc060ec87402b97314b6d.tar.bz2 |
libcacard: Don't link with all libraries QEMU links to
As described in https://bugzilla.redhat.com/show_bug.cgi?id=987441 ,
libcacard currently links to all the libraries QEMU is linking to,
including glusterfs libraries, libiscsi, ... libcacard does not need all of
these. This patch ensures it's only linked with the libraries it needs.
Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
Signed-off-by: Alon Levy <alevy@redhat.com>
-rw-r--r-- | libcacard/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcacard/Makefile b/libcacard/Makefile index 4d15da4..6b06448 100644 --- a/libcacard/Makefile +++ b/libcacard/Makefile @@ -25,7 +25,7 @@ vscclient$(EXESUF): libcacard/vscclient.o libcacard.la libcacard.la: LDFLAGS += -rpath $(libdir) -no-undefined \ -export-syms $(SRC_PATH)/libcacard/libcacard.syms -libcacard.la: LIBS += $(libcacard_libs) +libcacard.la: LIBS = $(libcacard_libs) libcacard.la: $(libcacard-lobj-y) $(call LINK,$^) |