diff --git a/qrexec/Makefile b/qrexec/Makefile index 58e48865..6ecd0711 100644 --- a/qrexec/Makefile +++ b/qrexec/Makefile @@ -1,13 +1,13 @@ CC=gcc CFLAGS+=-g -Wall -I../vchan -I../common -XENLIBS=-lvchan -lxenstore -lxenctrl +XENLIBS=-lvchan -lu2mfn -lxenstore -lxenctrl COMMONIOALL=../common/ioall.o all: qrexec_daemon qrexec_agent qrexec_client qrexec_daemon: qrexec_daemon.o unix_server.o $(COMMONIOALL) txrx-vchan.o buffer.o write_stdin.o - $(CC) -g -o qrexec_daemon qrexec_daemon.o unix_server.o $(COMMONIOALL) txrx-vchan.o write_stdin.o buffer.o $(XENLIBS) + $(CC) -L../vchan -L../u2mfn -g -o qrexec_daemon qrexec_daemon.o unix_server.o $(COMMONIOALL) txrx-vchan.o write_stdin.o buffer.o $(XENLIBS) qrexec_agent: qrexec_agent.o exec.o txrx-vchan.o write_stdin.o buffer.o $(COMMONIOALL) - $(CC) -g -o qrexec_agent qrexec_agent.o exec.o txrx-vchan.o write_stdin.o buffer.o $(COMMONIOALL) $(XENLIBS) + $(CC) -L../vchan -L../u2mfn -g -o qrexec_agent qrexec_agent.o exec.o txrx-vchan.o write_stdin.o buffer.o $(COMMONIOALL) $(XENLIBS) qrexec_client: qrexec_client.o $(COMMONIOALL) exec.o $(CC) -g -o qrexec_client qrexec_client.o $(COMMONIOALL) exec.o clean: diff --git a/rpm_spec/core-appvm.spec b/rpm_spec/core-appvm.spec index c07e9913..712db72a 100644 --- a/rpm_spec/core-appvm.spec +++ b/rpm_spec/core-appvm.spec @@ -60,9 +60,9 @@ mkdir -p $RPM_BUILD_ROOT/var/lib/qubes %build make clean all make -C ../common -make -C ../qrexec -make -C ../vchan make -C ../u2mfn +make -C ../vchan +make -C ../qrexec %install