[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] libcacard: fix compile error on glib2-2.12.3
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH v2] libcacard: fix compile error on glib2-2.12.3-4.el5 |
Date: |
Tue, 30 Sep 2014 11:28:22 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 |
Il 30/09/2014 11:12, Zhi Yong Wu ha scritto:
> diff --git a/Makefile b/Makefile
> index b33aaac..7cbf7dd 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -149,6 +149,8 @@ ifneq ($(wildcard config-host.mak),)
> include $(SRC_PATH)/tests/Makefile
> endif
> ifeq ($(CONFIG_SMARTCARD_NSS),y)
> +CFLAGS += -fPIC
> +LDFLAGS += $(LDFLAGS_SHARED)
> include $(SRC_PATH)/libcacard/Makefile
> endif
>
c++ ... -m64 -g -shared -o qemu-io qemu-io.o ...
So you are making all programs shared libraries? (And it would make no
sense even if you only made vscclient a shared library).
Can you include "make V=1" output in the commit message so that we
understand what is going on?
Paolo