]> git.proxmox.com Git - spiceterm.git/commitdiff
link with libsasl2 to avoid linker error
authorDietmar Maurer <dietmar@proxmox.com>
Sat, 28 Feb 2015 07:10:46 +0000 (08:10 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Sat, 28 Feb 2015 07:10:46 +0000 (08:10 +0100)
Makefile

index bd7b69bdafa531c9bb5f58f6da6ed5411cd286c8..b35e6d95b64aeeb8c132a99280f555e463f8f259 100644 (file)
--- 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