mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
Revert "out-of-tree build: daemon"
This reverts commit 025dba7f80.
If build and source directories are the same, you get this error:
make[3]: Leaving directory `/home/rjones/d/libguestfs/generator'
make[2]: Circular guestfs_protocol.c <- guestfs_protocol.c dependency dropped.
make[2]: Circular guestfs_protocol.h <- guestfs_protocol.h dependency dropped.
rm -f guestfs_protocol.h
ln guestfs_protocol.h
ln: accessing `guestfs_protocol.h': No such file or directory
This commit is contained in:
@@ -42,10 +42,10 @@ noinst_LIBRARIES = libprotocol.a
|
||||
libprotocol_a_SOURCES = guestfs_protocol.c guestfs_protocol.h
|
||||
libprotocol_a_CFLAGS = -Wall -Wno-unused -fno-strict-aliasing
|
||||
|
||||
guestfs_protocol.c: $(srcdir)/guestfs_protocol.c
|
||||
guestfs_protocol.c: $(libsrcdir)/guestfs_protocol.c
|
||||
rm -f $@
|
||||
ln $< $@
|
||||
guestfs_protocol.h: $(srcdir)/guestfs_protocol.h
|
||||
guestfs_protocol.h: $(libsrcdir)/guestfs_protocol.h
|
||||
rm -f $@
|
||||
ln $< $@
|
||||
$(libsrcdir)/guestfs_protocol.c: force
|
||||
|
||||
Reference in New Issue
Block a user