From 1c00de2b7681a1048fed1d806a6fbf559cc74d5a Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Sat, 28 Feb 2015 08:10:46 +0100 Subject: [PATCH] link with libsasl2 to avoid linker error --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bd7b69b..b35e6d9 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ SOURCES=screen.c event_loop.c input.c spiceterm.c auth-pve.c all: ${PROGRAMS} spiceterm: ${SOURCES} ${HEADERS} spiceterm.c - gcc -Werror -Wall -Wtype-limits ${SOURCES} -g -O2 -o $@ -lutil $(shell pkg-config) $(shell pkg-config --cflags --libs gthread-2.0,spice-protocol,spice-server) + gcc -Werror -Wall -Wtype-limits ${SOURCES} -g -O2 -o $@ -lutil $(shell pkg-config) $(shell pkg-config --cflags --libs gthread-2.0,spice-protocol,spice-server,libsasl2) genfont: genfont.c gcc -g -O2 -o $@ genfont.c -Wall -D_GNU_SOURCE -lz