[Spice-devel] [PATCH xf86-video-qxl] Bug fix: libcacard headers and libraries were not correctly used.

Christophe Fergeau cfergeau at redhat.com
Fri Oct 16 08:50:40 PDT 2015


On Fri, Oct 16, 2015 at 09:18:14AM -0500, Jeremy White wrote:
> Signed-off-by: Jeremy White <jwhite at codeweavers.com>
> ---
>  src/spiceccid/Makefile.am | 4 ++--
>  src/spiceccid/spiceccid.c | 2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/src/spiceccid/Makefile.am b/src/spiceccid/Makefile.am
> index 437e992..2fbf6e0 100644
> --- a/src/spiceccid/Makefile.am
> +++ b/src/spiceccid/Makefile.am
> @@ -19,11 +19,11 @@
>  #  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
>  
>  
> -AM_CFLAGS = $(LIBPCSCLITE_CFLAGS)
> +AM_CFLAGS = $(LIBPCSCLITE_CFLAGS) $(LIBCACARD_CFLAGS)

A bit surprised that this is not libspiceccid_la_CFLAGS

ACK.

Christophe

>  
>  if BUILD_SPICECCID
>  libspiceccid_la_LTLIBRARIES = libspiceccid.la
> -libspiceccid_la_LDFLAGS     = $(LIBPCSCLITE_LDFLAGS)
> +libspiceccid_la_LDFLAGS     = $(LIBPCSCLITE_LDFLAGS) $(LIBCACARD_LDFLAGS)
>  libspiceccid_la_SOURCES     = spiceccid.c
>  libspiceccid_ladir          = @cciddir@/
>  endif
> diff --git a/src/spiceccid/spiceccid.c b/src/spiceccid/spiceccid.c
> index 904a98c..67af6cb 100644
> --- a/src/spiceccid/spiceccid.c
> +++ b/src/spiceccid/spiceccid.c
> @@ -44,7 +44,7 @@
>  #include <sys/socket.h>
>  #include <sys/un.h>
>  
> -#include "cacard/vscard_common.h"
> +#include "vscard_common.h"
>  #include "ifdhandler.h"
>  #include <arpa/inet.h>
>  
> -- 
> 2.1.4
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20151016/2a8ef700/attachment.sig>


More information about the Spice-devel mailing list