Index: bindings/Makefile.am =================================================================== --- bindings/Makefile.am (révision 9970) +++ bindings/Makefile.am (révision 9971) @@ -24,7 +24,7 @@ # Workaround invalid Makefile generated by MakeMaker when UTF-8 is enabled. # perl-makefile: - cd perl && LANG="" DESTDIR=$(DESTDIR) LIBDIR=$(libdir) $(PERL) Makefile.PL @PERL_EXTRA_PARAMS@ + cd perl && LANG="" DESTDIR=$(DESTDIR) LIBDIR=$(libdir) $(PERL) Makefile.PL @PERL_EXTRA_PARAMS@ cc="$(CC)" else perl-makefile: endif @@ -49,7 +49,7 @@ cd perl && $(MAKE) LD_RUN_PATH="" python-build: python/_prelude.c - cd python && $(PYTHON) setup.py build + cd python && CC="$(CC)" $(PYTHON) setup.py build @@ -72,7 +72,7 @@ endif -clean-am: +clean-local: if HAVE_PERL cd perl && if test -f Makefile; then $(MAKE) clean; fi endif