summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHilko Bengen <bengen@hilluzination.de>2011-08-14 10:58:13 +0200
committerRichard W.M. Jones <rjones@redhat.com>2011-08-15 14:50:33 +0100
commit0241c753937e577d51a070f7db471260bf931f9c (patch)
tree07488f61f8f4f35ae2fe1937c66097ff30462eff /src
parent900c9626b9d4f567b21aae433493b4b3b1d09f6d (diff)
downloadlibguestfs-0241c753937e577d51a070f7db471260bf931f9c.tar.gz
libguestfs-0241c753937e577d51a070f7db471260bf931f9c.tar.xz
libguestfs-0241c753937e577d51a070f7db471260bf931f9c.zip
out-of-tree build: fix building library
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 0666f9f6..a5d73227 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -113,7 +113,7 @@ errnostring_gperf.c: errnostring_gperf.gperf
# 'libguestfs.so.0.$(MAX_PROC_NR).0'.
libguestfs_la_LDFLAGS = -version-info $(MAX_PROC_NR):0:$(MAX_PROC_NR)
-libguestfs_la_LDFLAGS += $(VERSION_SCRIPT_FLAGS)libguestfs.syms
+libguestfs_la_LDFLAGS += $(VERSION_SCRIPT_FLAGS)$(srcdir)/libguestfs.syms
libguestfs_la_SOURCES = \
guestfs.c \
@@ -170,14 +170,14 @@ libguestfs_la_CPPFLAGS = -I$(top_srcdir)/gnulib/lib
if HAVE_RPCGEN
guestfs_protocol.c: guestfs_protocol.x
rm -f $@-t $@-t2
- $(RPCGEN) -c -o $@-t $<
+ $(RPCGEN) -c -o $@-t $(srcdir)/$<
sed 's,\.\./\.\./src/,,' < $@-t > $@-t2
rm $@-t
mv $@-t2 $@
guestfs_protocol.h: guestfs_protocol.x
rm -f $@-t
- $(RPCGEN) -h -o $@-t $<
+ $(RPCGEN) -h -o $@-t $(srcdir)/$<
mv $@-t $@
endif