---
 perl/Makefile.am |    1 +
 1 file changed, 1 insertion(+)

diff --git a/perl/Makefile.am b/perl/Makefile.am
index 7b8f5d3..1eb0469 100644
--- a/perl/Makefile.am
+++ b/perl/Makefile.am
@@ -67,6 +67,7 @@ all: Makefile-pl src_deps
        $(MAKE) -f Makefile-pl
 
 Makefile-pl: Makefile.PL
+       -[ $(srcdir) != $(builddir) ] && cp -rsu $(abs_srcdir)/. $(builddir)/.
        perl Makefile.PL INSTALLDIRS=$(INSTALLDIRS) PREFIX=$(prefix)
 
 # No!  Otherwise it is deleted before the clean-local rule runs.
-- 
1.7.10.4

_______________________________________________
Libguestfs mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libguestfs

Reply via email to