pve-spiceterm/spiceterm-alt.patch
Valery Inozemtsev 67aede4287 2.0-alt1
- initial release
2016-06-09 12:49:31 +00:00

14 lines
866 B
Diff

--- spiceterm/Makefile.alt 2015-02-28 07:18:01.000000000 +0000
+++ spiceterm/Makefile 2016-06-09 12:41:26.674229220 +0000
@@ -20,7 +20,9 @@ SOURCES=screen.c event_loop.c input.c sp
all: ${PROGRAMS}
spiceterm: ${SOURCES} ${HEADERS} spiceterm.c
- gcc -Werror -Wall -Wl,-z,relro -Wtype-limits ${SOURCES} -g -O2 -o $@ -lutil $(shell pkg-config) $(shell pkg-config --cflags --libs gthread-2.0,spice-protocol,spice-server,libsasl2)
+ gcc -Werror -Wall -Wl,-z,relro -Wtype-limits ${SOURCES} -g -O2 -o $@ -I$(shell pwd)/SPICE/server -lutil $(shell pkg-config) $(shell pkg-config --cflags --libs gthread-2.0,spice-protocol,libsasl2) \
+ $(shell pwd)/SPICE/server/.libs/libspice-server.a \
+ -lgio-2.0 -lgobject-2.0 -lopus -lglib-2.0 -ljpeg -llz4 -lpixman-1 -lsasl2 -lssl -lcrypto -lz -lm -lrt
genfont: genfont.c
gcc -g -O2 -o $@ genfont.c -Wall -D_GNU_SOURCE -lz