gtk/plugins/perl/Makefile.am

changeset 14826
ca332b9c237e
parent 14642
af9c32fb1d15
--- a/gtk/plugins/perl/Makefile.am	Wed Oct 18 15:27:38 2006 +0000
+++ b/gtk/plugins/perl/Makefile.am	Wed Oct 18 15:45:22 2006 +0000
@@ -37,6 +37,11 @@
 	$(common_sources)
 
 common/Makefile: common/Makefile.PL
+	@if test "x${top_srcdir}" != "x${top_builddir}"; then \
+		for f in ${common_sources}; do \
+			${LN_S} -f ../${srcdir}/$$f $$f; \
+		done; \
+	fi
 	@cd common && $(perlpath) Makefile.PL $(PERL_MM_PARAMS)
 
 common/Makefile.PL: common/Makefile.PL.in $(top_builddir)/config.status

mercurial