libmng: fix trying to run configure on an already configured directory fixes #2959 (#2961)

This commit is contained in:
Massimiliano Culpo 2017-01-31 15:49:29 +01:00 committed by Todd Gamblin
parent 75763bb8e3
commit 19cf7a2833

View file

@ -42,3 +42,7 @@ def patch(self):
# jpeg requires stdio to beincluded before its headrs.
filter_file(r'^(\#include \<jpeglib\.h\>)',
'#include<stdio.h>\n\\1', 'libmng_types.h')
@run_before('configure')
def clean_configure_directory(self):
make('distclean')